VinceGHER/openwren
Tentang
A modern, fast, privacy-first email client that keeps your mail on your computer. Free and open source, for Linux, macOS and Windows. Built with Rust and React.
Produktivitas dan otomatisasiYang dapat Anda lakukan
- All your accounts, one inbox Gmail and any IMAP account side by side. "All inboxes" shows every account's mail together; star the folders you use most to keep them at the top.
- Search that reaches back years Every message is indexed on your computer, however old. Narrow by account, attachment or date, or type from:, subject:, has:attachment, before:2024-01-31. Text that is not downloaded yet can be searched on the server.
- Warns you before you click A message is flagged when your mail server could not confirm the sender, when the name claims to be a company the address does not belong to, when a link shows one site but leads to another, or when an address imitates a known one with look-alike letters. One click blocks the sender.
- Removes trackers, offers unsubscribe Hidden images that report when you open a message are removed, and tracking codes are stripped from links. Pictures from the internet load only when you ask. Mailings get an Unsubscribe button that sends the request for you.
Pertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- +8
- dalam 15 hari
- Mengumpulkan riwayat
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
Asli
OpenWren
A modern, fast, privacy-first email client that keeps your mail on your computer. Free and open source, for Linux, Windows and macOS. It is built with Rust (the engine: sync, search, encryption) and React (the interface), which makes it small and fast: a 14 MB download that starts in about half a second.
Gmail, Outlook and any IMAP account, one inbox for all of them, search that reaches back years, and protection against trackers and phishing built in.
If you like it, please star it. It is the simplest way to help the project get found. If you rely on it, you can also sponsor it: it keeps OpenWren free and maintained.
| Light | Dark |
|---|---|
![]() |
![]() |
Why OpenWren
- Free. No price, no account with us, no ads.
- Open source. Apache-2.0. Every line is public: read it, build it, fork it.
- Built because I could not find an email client for Linux that I liked. I wanted something modern, fast and private, so I wrote it.
- Private. Mail is stored encrypted on your computer. Trackers are removed and suspicious mail is flagged before you click.
Fast
Measured on this project's own benchmarks, on an encrypted mailbox of 200,000 messages (Intel Core Ultra 7 155H laptop, Ubuntu 26.04):
| Start the app until the inbox is on screen | 0.6 s |
| Open a folder | 0.1 ms |
| Open a message | 0.05 ms |
| Search for a word found in a few hundred messages | 30 ms |
| Search for a word found in most of the mailbox | 185 ms |
| Sync from a local server | 2,750 headers and 540 message texts per second |
| Processor use while idle in the tray | 0.2% of one core |
| Memory with the inbox open | 288 MB, mostly the system web view |
| Download | 14 MB |
Folder and message times are the database work in the Rust engine; drawing them on screen comes on top. Start-up, memory and idle use were measured on a 50,000-message mailbox.
Method, all numbers and how to rerun them: docs/benchmarks.md.
Install
OpenWren runs on Linux, Windows and macOS. The same steps, with copy buttons, are on the download page.
Linux
The apt and dnf repositories deliver updates through your normal system updates, and OpenWren tells you when a new version is out.
Debian, Ubuntu and derivatives
curl -fsSL https://packages.openwren.app/key.gpg | sudo tee /usr/share/keyrings/openwren.gpg > /dev/null
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/openwren.gpg] https://packages.openwren.app/apt stable main" | sudo tee /etc/apt/sources.list.d/openwren.list
sudo apt update && sudo apt install openwren
Fedora and other dnf systems
sudo curl -fsSL -o /etc/yum.repos.d/openwren.repo https://packages.openwren.app/rpm/openwren.repo
sudo dnf install openwren
AppImage: download OpenWren-linux-x86_64.AppImage, make it executable and run it. It updates itself from inside the app.
Arch Linux and Manjaro: openwren-bin on the AUR, for example yay -S openwren-bin. It is maintained by the community, not by this project.
The repositories are signed with the OpenWren key, fingerprint
8991 7136 148C 9676 F3A5 1B21 4B8A FB6E 4238 18E0.
Windows
For 64-bit Windows 10 and 11. Tested on Windows 11.
- Download OpenWren-windows-x64-setup.exe and run it.
- The installer is not signed with a certificate yet, so Windows may show "Windows protected your PC": choose More info, then Run anyway.
- Follow the installer. It installs for your user only and needs no administrator rights.
OpenWren tells you when a new version is out and installs it for you.
macOS
For all Macs, Apple silicon and Intel, with macOS 11 or later. Tested on macOS 14 with an Intel processor; not yet tried on Apple silicon.
- Download OpenWren-macos-universal.dmg, open it and drag OpenWren into Applications.
- Open OpenWren. The app is not signed with an Apple certificate yet, so macOS refuses the first time ("cannot be opened because Apple cannot check it for malicious software"). Click OK.
- Open Terminal, run this once, and open OpenWren again:
xattr -cr /Applications/OpenWren.app
OpenWren tells you when a new version is out and installs it for you.
Checksums of the Windows and macOS files: SHA256SUMS.
Build from source
On Linux you need Node.js 22 or later with pnpm, Rust 1.77 or later, and Tauri's Linux libraries:
sudo apt install -y rustc cargo libwebkit2gtk-4.1-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev libssl-dev libxdo-dev pkg-config
pnpm install
pnpm tauri build --bundles deb
The package lands in src-tauri/target/release/bundle/deb/. To add the app to
your menu without installing the package, run sh scripts/install-launcher.sh.
Uninstall
Removing the package takes away the program, its menu entry and its icons:
sudo apt remove openwren
sudo dnf remove openwren
Like other Linux apps, this leaves your own data in place, so that a reinstall finds your accounts and mail again. To remove everything, quit OpenWren first (tray icon → Quit), then delete these three things.
| What | Where | Remove it with |
|---|---|---|
| Downloaded mail, search index, drafts and settings (the encrypted database) | ~/.local/share/org.openwren.app/ |
rm -rf ~/.local/share/org.openwren.app |
| The start-at-login entry | ~/.config/autostart/openwren.desktop |
rm -f ~/.config/autostart/openwren.desktop |
| Account passwords and the database key | The system keyring, under the name "OpenWren" | secret-tool clear service OpenWren |
secret-tool is in the package libsecret-tools (Debian, Ubuntu) or
libsecret (Fedora). Without it, open "Passwords and Keys", search for
"OpenWren" and delete the entries.
This deletes only the copy on this computer: your mail stays on your mail servers. The database cannot be read without the key from the keyring, so once the keyring entries are gone a leftover database file is unreadable anyway.
If you ran scripts/install-launcher.sh from a source checkout, undo it with
sh scripts/install-launcher.sh remove.
Adding your mail
- Gmail: choose Google, then follow the three steps to create an app password in your Google account (it needs 2-step verification). Advanced: sign in with Google using your own OAuth client ID.
- Outlook, Hotmail, Live and Microsoft 365: choose Outlook and sign in with Microsoft in your browser. Microsoft accepts no password for mail.
- Any other account: enter your address and password; the server names are guessed from the address and can be corrected.
Passwords are stored in the system keyring, never in OpenWren's files.
Features
![]() |
All your accounts, one inbox Gmail and any IMAP account side by side. "All inboxes" shows every account's mail together; star the folders you use most to keep them at the top. |
![]() |
Search that reaches back years Every message is indexed on your computer, however old. Narrow by account, attachment or date, or type |
![]() |
Warns you before you click A message is flagged when your mail server could not confirm the sender, when the name claims to be a company the address does not belong to, when a link shows one site but leads to another, or when an address imitates a known one with look-alike letters. One click blocks the sender. |
Removes trackers, offers unsubscribe Hidden images that report when you open a message are removed, and tracking codes are stripped from links. Pictures from the internet load only when you ask. Mailings get an Unsubscribe button that sends the request for you. |
|
![]() |
Write with less friction Rich text, signatures (with a picture if you like), attachments, send later, and a few seconds to undo a send. Drafts are saved as you type and kept on the server. A quick reply box sits under every message. |
![]() |
Keep on top of it Archive, delete and snooze are one click. Move by menu or by dragging onto a folder, mark with colours, pin, flag, set rules for new mail, and undo any of it. |
![]() |
Private, and you can check Mail is stored in an encrypted database; passwords stay in the system keyring. Every protection has a switch, and the two requests OpenWren makes for itself, the daily usage count and the check for a new version, can both be switched off. |
![]() |
Set up in a minute A short welcome adds your first account and lets you pick the theme, text size and time format. Light and dark themes, three fonts, and a tray icon that keeps new-mail notifications coming. |
Privacy
OpenWren has no server of its own that sees your mail. It talks to your mail servers, and to nobody else unless you ask (showing remote images, signing in with Google, unsubscribing).
Two requests go to the project itself, both set in Settings → Privacy:
- Anonymous usage count, only if you choose it. Once a day the app sends one request so the project can count how many people use it. It carries the app version, the kind of package and system, and nothing that identifies you; the server keeps only totals. The welcome screen asks, with neither answer picked in advance, and nothing is sent until you say yes.
- Looking for a new version, on unless switched off. A few times a day the app downloads one small
public file from
packages.openwren.appthat names the newest version. The request carries nothing about you or your computer, not even the version you have.
Every request the app makes is listed in PRIVACY.md.
Built with
| Part | What it does | Why |
|---|---|---|
| Rust | The engine: sync, parsing, search, sending, encryption | Memory-safe and fast, with no pauses for garbage collection |
| Tauri 2 | The window, using the system's WebKitGTK | No bundled browser engine, so the download is about 14 MB |
| SQLite + SQLCipher + FTS5 | Local storage, encrypted, with full-text search | One file, no database server, search that stays quick on large mailboxes |
| tokio, async-imap, lettre, mail-parser, ammonia, rustls, keyring | Mail protocols, parsing, HTML cleaning, TLS, credentials | Small, focused Rust libraries |
| React 19, TypeScript, Vite, Tailwind CSS 4, zustand, TipTap | The interface | Quick to build and change |
How it works
The interface never touches the network or the database. It calls commands in the Rust engine and listens for events; everything it shows is read from the local database, which is why lists and messages appear at once.
For each account a background task keeps that database in step with the server:
- Send the changes you made (moves, flags, drafts), queued if you were offline.
- Fetch the folder list, then every folder's headers and flags, inbox first.
- Download the text of the newest messages straight away, the rest in the background.
- Wait for the server to announce new mail (IMAP IDLE), which arrives within a second or two.
Mail HTML is sanitised in Rust, then shown in a sandboxed frame with scripts off and network access blocked until you choose "Show images".
src/ interface (React, TypeScript)
backend/ the only place that calls the engine; sample mail for `pnpm dev`
features/ screens: folders, list, reading pane, composer, settings, welcome
src-tauri/src/ engine (Rust)
lib.rs commands the interface calls, background tasks
sync.rs imap.rs keeping the local database in step with the server
db.rs all the SQL
parse.rs reading and cleaning mail
smtp.rs oauth.rs sending, Google and Microsoft sign-in
stats/ the usage counter (Cloudflare Worker)
website/ openwren.app (Astro)
Tests
pnpm typecheck && pnpm test
cargo test --manifest-path src-tauri/Cargo.toml
The end-to-end tests run against a local Dovecot mail server (needs Docker):
sh tests/mail-server.sh
OPENWREN_TEST_IMAP=127.0.0.1:3143 OPENWREN_TEST_SMTP=127.0.0.1:3025 cargo test --manifest-path src-tauri/Cargo.toml
pnpm dev runs the interface in a browser on sample mail, with no mail server
and no desktop app. node scripts/screenshots.mjs takes every picture in this
README from it, including the cover.
Contributing
Bug reports, fixes and ideas are welcome. See CONTRIBUTING.md for how to build, test and send a change, and SECURITY.md for reporting a vulnerability privately.
Known limits
- Windows and macOS are newer than Linux and less tested: Windows was tried on Windows 11, macOS on an Intel Mac only. Their installers are not signed with a certificate yet, so both systems warn on first start.
- One-click "Sign in with Google" for everyone needs Google's approval of the app, which has not been requested yet. Until then Gmail uses an app password.
- Outlook sign-in is new. A work or school account may answer "needs admin approval": the organisation's administrator has to allow OpenWren once, or you enter a client ID from your own organisation in Settings, Accounts. Some organisations switch off sending over SMTP, which OpenWren uses.
- Categories, pins and snoozes are stored on this computer, not on the server.
- Server-side search understands plain ASCII words only.
- HTML mail is always shown on a white background, also in the dark theme.
- Blocking a sender moves their mail when OpenWren syncs, so it only works while the app runs.
- No Flatpak yet.
Licence
Apache-2.0. The name "OpenWren" and the logo are not covered by it; see TRADEMARKS.md. Third-party components are listed in THIRD-PARTY-NOTICES.md.
Jelajahi proyek terkait
Memuat…








