
# TutaBridge
**Use [Tuta](https://tuta.com) 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.
[](https://github.com/spartanz51/tutabridge/actions/workflows/ci.yml)
[](https://github.com/spartanz51/tutabridge/releases)
[](LICENSE)
[](#-install)
[](#-build-from-source)
[**Install**](#-install) · [**Getting started**](#-getting-started) · [**Features**](#-features) · [**Backup**](#-backup) · [**Architecture**](#-architecture)
> ⚠️ **Unofficial & unsigned.** TutaBridge is an independent project — not
> affiliated with, endorsed by, or supported by Tuta. It logs into your account
> and decrypts your mail locally, outside Tuta's official apps; use it at your
> own risk. The released binaries are **not code-signed**, so macOS and Windows
> warn on first launch — see [Install](#-install) for how to get past that.
---
## ✨ Features
| | |
|---|---|
| 📥 **IMAP + SMTP** | Local TLS servers on `127.0.0.1` — any standard mail client connects. |
| ⚡ **Realtime sync** | Tuta's WebSocket event bus pushes new mail, reads, moves and deletes; a heartbeat + idle-timeout reconnect dead sockets automatically. |
| 🗂️ **Whole mailbox** | Every folder and message is listed — not just a recent slice. |
| 🔍 **Honest search** | Subject / sender / 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 / nested folders, move, trash, read/unread. |
| 🔐 **Encrypted cache** | Metadata in SQLCipher, bodies as individually-encrypted `.eml.enc` 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. |
---
## 📦 Install
Download the latest build from the [**Releases**](https://github.com/spartanz51/tutabridge/releases)
page. Every platform ships two flavours:
- 🖥️ a **desktop app** — a normal double-click GUI, recommended for most people;
- ⌨️ a **CLI binary** — a single executable you run from a terminal, for headless / server use.
| Platform | Desktop app | CLI binary |
|----------|-------------|------------|
| **macOS** (Apple Silicon) | `TutaBridge_*_universal.dmg` | `tutabridge-macos-arm64` |
| **Windows** (x64) | `TutaBridge_*_x64-setup.exe` *(or `.msi`)* | `tutabridge-windows-x86_64.exe` |
| **Linux** (x64) | `*.AppImage` / `*.deb` / `*.rpm` | `tutabridge-linux-x86_64` |
Because the binaries aren't signed, each OS needs a **one-time nudge** to run them: