Free · open source
GPLv3, royalty-free or commercial — your choice$0forever
- Direct to IMAP, JMAP, Gmail and Graph
- On-device AI by default
- Encrypted mail stays local
A local-first mail client with private AI, for macOS, iOS, Windows, Linux, Android and the web.
cargo install --locked --git https://github.com/pyrlyn/mailune mailune-cli
See it run
$ export MAILUNE_HOME="$HOME/.mailune-scratch" $ mailune account add --address [email protected] --label Work $ mailune account list
Overview
Mailune is a local-first mail client. One Rust core talks to the mail provider, and native apps and a self-hosted web client sit on that core. AI runs on the device unless you opt in to a cloud model with your own key.
Mailune is in development: there is no release and no app yet. The core crates and a command-line tool that records accounts in a scratch directory build from source.
Features
Mailune talks directly to IMAP and SMTP, JMAP, the Gmail API and Microsoft Graph. No vendor server sits in the middle.
Apple Foundation Models, Gemini Nano, Windows AI or a bundled llama.cpp. Cloud models are optional and use your own key, and a ledger shows every request that leaves the device.
OpenPGP and S/MIME messages are decrypted locally, and only local models ever see them.
One Rust core under SwiftUI, WinUI 3, GTK4 with libadwaita and Jetpack Compose interfaces.
The first version ships mailune-server, which serves the same core to a browser over JSON-RPC on a WebSocket.
Install
There is no release yet. Install the command-line tool from source (Rust 1.99):
cargo install --locked --git https://github.com/pyrlyn/mailune mailune-cli
Or build the whole workspace with the repository's pinned toolchain:
git clone https://github.com/pyrlyn/mailune && cd mailune && mise exec -- cargo build --workspace --locked
Record an account in a scratch directory. Nothing is sent over the network yet.
export MAILUNE_HOME="$HOME/.mailune-scratch"
mailune account add --address [email protected] --label Work
More examples below.
Usage examples
List the stored accounts, one address and label per line.
mailune account list
Links
You can use Mailune under any of the following licenses, at your choice:
Pricing
Pro is a placeholder$0forever
$9 / moper seat
Placeholder — the Pro waitlist is not open yet.
Free and open source. Star it, file an issue, or send a pull request.