Use Tuta encrypted email in Thunderbird, Apple Mail, or any standard mail client.
A local IMAP/SMTP bridge that talks to Tuta's API and handles the end-to-end encryption transparently, so your favourite desktop client just works.
Download · Getting started · Features · Backup · Architecture
TutaBridge goes against Tuta's end-to-end philosophy, and Tuta does not endorse it. Tuta has no official bridge on purpose. Decrypting your mail outside their apps and handing it to a local mail client widens your attack surface: a compromised device, a shady client add-on, or a buggy MCP client now sees your messages in plaintext. Tuta has explained this stance publicly (1, 2).
So who is it for? Advanced users who trust their own device but not necessarily the email provider, and who want to keep full control of their data: read it in any client, back it up to plain files, search it locally, automate it. The threat model is "I trust my machine, I just don't want to be locked into one vendor's apps." If that isn't you, stay on Tuta's official apps. The released binaries are also not code-signed, so your OS will warn on first launch (see Download).
| IMAP + SMTP | Local TLS servers on 127.0.0.1, so any standard mail client connects. |
| Realtime sync | Tuta's WebSocket event bus pushes new mail, reads, moves and deletes; a heartbeat reconnects dead sockets automatically. |
| Whole mailbox | Every folder and message is listed, not just a recent slice. |
| Honest search | Subject, sender and date search the entire mailbox; full-text body search via an encrypted on-disk index. |
| Attachments | Both ways. Incoming served as multipart/mixed, outgoing uploaded to Tuta on send. |
| Folders & flags | Drafts, custom and nested folders, move, trash, read/unread. |
| Encrypted cache | Metadata in SQLCipher, bodies as individually encrypted files. Usable instantly on relaunch, only the delta is fetched. |
| Complete backup | Export every message to portable .eml files. |
| 2FA (TOTP) | Two-factor login supported. |
Download the app for your OS (see all releases for the CLI binaries and checksums):
| OS | Desktop app |
|---|---|
| 🍎 macOS (Apple Silicon) | Download .dmg |
| 🪟 Windows (x64) | Download installer .exe |
| 🐧 Linux (x64) | .AppImage · .deb · .rpm |
The build is not code-signed, so the first launch needs one click to allow it:
- macOS: right-click the app, then Open, then Open.
- Windows: More info, then Run anyway.
- Linux:
chmod +xthe AppImage, or install the.deb/.rpm.
Prefer the command line? Every release also ships a single CLI binary per OS (run it from a terminal; it has no extension, so double-clicking won't work).
Arch Linux: on the AUR, the desktop app is
tutabridge-desktop-bin
(prebuilt) or
tutabridge-desktop-git
(built from source), and the headless CLI daemon is
tutabridge-bin or
tutabridge-git,
e.g. yay -S tutabridge-desktop-bin.
The desktop app keeps itself current: at startup and every 6 hours it looks
for a new release on GitHub, downloads it, checks its signature against the
key built into the app, and installs it. The new version runs at the next
launch, or right away from the banner or tray menu. Windows asks you to
start installation because its installer closes and restarts the app.
Linux packages installed through a package manager use that manager; only
the AppImage updates itself. Turn automatic checks off in
Config, Updates if you prefer to update by hand; the app then never
contacts GitHub on its own, and the same screen still lets you check when
you want to. The running version shows in the window header, in the tray
menu and on that screen; the CLI prints it with tutabridge --version.
Keeping up matters: Tuta only accepts clients above a minimum version that moves from time to time, and TutaBridge announces the version of the SDK it embeds. The CLI does not update itself; on Arch the AUR packages follow the releases.
The desktop app has a tray icon (the menu bar on macOS). Closing its window keeps the bridge running; use Open TutaBridge to bring it back or Quit TutaBridge to stop the app. Launching the app again also restores the existing window. The normal minimize button still minimizes the window; Hide to tray removes it from view without stopping the bridge.
On Linux, the desktop must support AppIndicator/StatusNotifier icons. GNOME may need the AppIndicator extension. If no tray host is available, closing the window exits normally instead of leaving an inaccessible app.
- Open TutaBridge and sign in with your Tuta address. Password and 2FA are asked on the first run only; the session is saved to your OS keychain afterwards.
- Note the bridge password it shows. It is generated locally for your mail client and is not your Tuta password.
- Add an account in your mail client with the settings below, then accept the self-signed certificate when prompted.
| Server | Port | Security | |
|---|---|---|---|
| IMAP (incoming) | 127.0.0.1 |
1143 |
SSL/TLS |
| SMTP (outgoing) | 127.0.0.1 |
1025 |
SSL/TLS |
Username: your Tuta address. Password: the bridge password from step 2.
Keep TutaBridge running while you use your mail client. It is the local server the client talks to.
Search runs in your mail client. Subject, sender and date cover the whole mailbox; full-text body search covers messages whose body has been downloaded (enable "keep every message body offline" for full coverage).
Store-backed: the IMAP server answers from memory and the encrypted disk cache.
Tuta API / WebSocket -> Syncer + event bus -> MailStore (in-memory) <- IMAP server <- mail client
<- GUI (stats)
- At startup the syncer loads the on-disk encrypted cache into an
in-memory
MailStore; after that, Tuta's event bus keeps it current in real time (new mail, moves, deletions, read state). - The IMAP server reads from the store. Its only network read is the
body of a mail not downloaded yet, fetched when a client opens it; the
other network calls are mutations: mark read/unread, move and trash.
Sending goes through
SMTP to Tuta's
DraftServiceandSendDraftService.
The storage key is derived from your Tuta session, so there is no extra password to manage, and the cache is encrypted at rest.
Export every email to a folder of plain .eml files, one per message, in a tree
mirroring your IMAP folders. It enumerates all mail from the server, not just
what is currently synced, so nothing is silently left out.
<output>/
├── INBOX/
│ ├── 20260528-144935_OtjDuDU--3-9.eml
│ └── ...
├── Sent/
├── Trash/
└── Café/Projets/...
tutabridge backup ~/TutaBackup # CLIIn the GUI, use the Backup tab: pick a folder and watch per-folder progress. The bridge must be running, since the backup reuses its signed-in session.
- Format:
.eml(RFC 2822). Opens natively in Thunderbird, Apple Mail and Outlook, survives Windows filesystems, and one corrupt file never sinks the archive. Filenames are date-prefixed so a listing sorts chronologically. - Resumable: re-running into the same folder skips messages already on disk, so an interrupted backup resumes and a periodic re-backup only fetches new mail.
- Scope: every folder, including Trash and Spam.
Requires Rust, Python 3 (preparation only), Git and the official tuta-repo submodule
(git clone --recursive, or git submodule update --init --recursive):
python3 scripts/sdk-prepare.py # prepare and verify the patched SDK
cargo build --locked # CLI + core
cargo build -p tutabridge-core # core library only
cargo run # run the CLI from source
./dev.sh # GUI in dev mode (cargo tauri dev)Config and cache live under your platform's app-data directory. On macOS that is
~/Library/Application Support/tutabridge/:
config.toml account + ports + bridge_password + sync_limit
store.db SQLCipher metadata + full-text body index
mails/<id>.eml.enc per-mail encrypted bodies
sync_limit controls how many recent message bodies are kept offline. The full
mailbox is always listed and metadata-searchable regardless. Set it to 0 (or
tick "keep every message body offline" in the GUI) to download everything.
By default the login session is saved to your OS keychain (on Linux, a Secret
Service provider such as GNOME Keyring or KeePassXC). On systems without one,
you can keep it in pass instead, encrypted
with your GPG key. Add a pass_path to config.toml:
pass_path = "Tuta/Bridge"The session is then stored as Tuta/Bridge/<your address>. pass must be on
PATH, and gpg-agent must be able to decrypt the entry when the bridge
starts, so a bridge started without a terminal needs a cached passphrase or a
graphical pinentry. Log in once after setting it; an existing keychain session
is not moved.
cargo test --workspace # unit + integration tests
python3 scripts/test_imap.py # integration test against a running bridgeThe IMAP integration test connects to the local server and verifies TLS, auth,
folder list, mail count, body fetch and search. It reads the bridge password
from config.toml automatically.
TutaBridge builds on Tuta's official Rust SDK release plus a small series of
patches. tuta-repo points directly at the official release commit;
python3 scripts/sdk-prepare.py prepares and verifies a local copy in
sdk/generated. No SDK fork is needed for new builds. See docs/SDK_PATCHES.md
for the patches and docs/SDK_UPSTREAM.md for the
ones proposed to Tuta.
GPL-3.0-or-later. TutaBridge links Tuta's Rust SDK (part of the GPLv3-licensed tutanota project), so it is distributed under the same license.