dumbmail isn't out yet. It's coming to the Mac App Store for macOS 15 and later. Price and release

For the nerds

How dumbmail's security and cryptography work.

This page holds nothing back. Everything here comes from the source as of November 6, 2026. Version numbers are the ones the app is built with. Where something is a compromise, it says so. If a statement here stops being true, this page changes the same day.

The short, readable version is on the privacy page.

The principles

  • No server of ours. There's no dumbmail backend, account, relay, push service, or proxy. The app talks to your mail provider and to nothing we run.
  • No telemetry. No analytics SDK, no crash reporter, no "phone home", no update check (updates come through the Mac App Store).
  • Off by default if it leaks. Remote content is blocked until you ask. The few things that are on by default and touch the network (Web Key Directory lookups, Google/Microsoft contacts for address suggestions) are listed below with how to turn them off.
  • Say what's true, not what's comforting. A signature by a key nobody verified is amber, not green. An encryption key nobody verified gets a warning. The encrypted-cache setting says what it doesn't cover.
  • Not audited yet. dumbmail hasn't had an independent security review. It's had a careful self-review (see the changelog), with tests for every fix. An outside review is planned once there's revenue to pay for it; its scope is already written down, and the results will be published here, good or bad.

Every network connection

DestinationWhenWhat's sentCan you turn it off?
Your IMAP server (port 993 TLS, or as set)While the app is open; one connection per account kept open with IDLEYour login (password or OAuth token, inside TLS), IMAP commandsIt's your mail; remove the account
Your SMTP server (465 TLS or 587 STARTTLS)When you sendYour login, the message—
Your ManageSieve server (port 4190, STARTTLS required)When rules change, if the server offers itYour login, the rules scriptRules that can't run on the server run in the app
accounts.google.com / oauth2.googleapis.comSigning in with Google; refreshing the hourly tokenOAuth (PKCE) requestsUse an app password instead of Sign in with Google
gmail.googleapis.comSettings ▸ Vacation (Gmail's responder); Gmail tabs for bundles (if bundles follow Gmail's tabs)Your token; for tabs, a search like in:inbox category:promotions newer_than:Nd (the answers are message and conversation IDs)Settings ▸ Bundles ▸ "Follow Gmail's categories"; don't use Vacation
people.googleapis.comAddress suggestions, refreshed when Compose opens if more than 6 hours oldYour token (read-only contacts)Settings ▸ General ▸ "Also suggest people from Google and Microsoft accounts"
login.microsoftonline.comSigning in with Microsoft; token refreshOAuth (PKCE) requestsUse another sign-in method if your server allows
graph.microsoft.comVacation (automatic replies); address suggestionsYour tokenAs for Google
openpgpkey.<domain> / <domain> /.well-known/openpgpkey/… (Web Key Directory)Only when you encrypt with PGP to someone with no key here; at most once a day per addressThe hashed local part of their address (z-base-32 SHA-1, as the WKD draft specifies) and the l= parameter with the local part as written. No cookies, no cache, 8-second timeoutSettings ▸ Privacy ▸ "Look up keys on people's domains"
A list's unsubscribe addressWhen you press Unsubscribe and confirmAn RFC 8058 one-click POST, or an email from you, or the page opens in your browserDon't press it
Remote images in a messageOnly when you load them (or always for senders you've chosen)An ordinary image request from your IPOff by default
Apple (StoreKit)At launch and on purchaseHandled by macOS—

Nothing else. Links open in your default browser. Fonts are bundled. There are no avatars, link previews, favicons or "smart" lookups.

Transport security

  • TLS 1.2 or later, and 1.3 when the server has it. By default TLS 1.0 and 1.1 are refused for IMAP, SMTP and ManageSieve; a server that offers nothing newer gets no connection. The newest version both sides support is used, so Gmail, Outlook and most current servers get TLS 1.3.
  • An escape hatch for old servers, per account. At the bottom of an account's settings, under Old Encryption, "Allow TLS 1.0 and 1.1 for this account (not secure)" sits under a red warning that they're broken (retired by RFC 8996), and turning it on asks again before it takes effect. It covers that account's IMAP, SMTP and ManageSieve, and even then the newest version the server offers is used. Certificates are checked fully either way.
  • tests/tls checks all of this against servers offering only 1.1, only 1.2, and only 1.3, with the setting off and on.
  • IMAP: SwiftNIO with BoringSSL (swift-nio-ssl 2.37.5, through Apple's swift-nio-imap), full certificate and host-name verification. Upstream swift-nio-imap uses NIOSSL's default, which always allows TLS 1.0, and has no setting to change it, so dumbmail carries a copy with a small marked change that makes the minimum TLS 1.2 unless an account allows older (Vendor/swift-nio-imap, explained in Vendor/README.md).
  • SMTP and ManageSieve: macOS's own TLS (a URLSession stream task, minimum TLS 1.2 unless the account allows older), with the system's certificate checks. Port 465 is TLS from the first byte; 587 uses STARTTLS, and if the server doesn't offer it, nothing is sent: a downgrade attacker gets an error, not your password.
  • No plaintext logins. With TLS off, dumbmail refuses to log in over IMAP or SMTP unless the server is on this Mac (localhost, 127.*, ::1), which is how Proton Mail Bridge and test servers work.
  • OAuth 2: authorization code flow with PKCE (S256), in your own browser (never an embedded web view), redirected to a one-time listener on 127.0.0.1 (Google) or localhost (Microsoft) that only accepts connections from this Mac and closes after one sign-in or 5 minutes. Refresh tokens are kept in the Keychain; access tokens (one hour) only in memory. Google requires desktop apps to send a client "secret"; it's in the app, as for every desktop app, and isn't a secret.

Reading HTML mail

HTML is shown in a WKWebView set up to be as dumb as possible:

  • JavaScript off (allowsContentJavaScript = false). dumbmail's own two small scripts (scrolling, noticing you reached the end) run in a separate content world the message can't see or touch.
  • A throwaway data store (WKWebsiteDataStore.nonPersistent()): no cookies, cache or storage, nothing shared between messages, nothing on disk.
  • A Content Security Policy, first thing in the page, before any of the message's markup. Blocked: default-src 'none'; img-src data:; style-src 'unsafe-inline'; font-src data:; form-action 'none'; frame-src 'none'; script-src 'none'. Images loaded: img-src adds https: http:; stylesheets and fonts stay blocked if you chose to skip trackers.
  • Things a CSP doesn't cover are removed: <meta http-equiv="refresh"> always, and every <link> (preconnect, dns-prefetch, prefetch, preload) unless everything is allowed to load.
  • No navigation. The page is about:blank; anything else (a form, a frame, a redirect) is cancelled. A clicked link goes to the app, which can show where it really goes and warn about lookalike tricks before opening it in your browser.
  • Skipping trackers ("load images, leave out trackers") works twice: the HTML is rewritten to drop 1×1 pixels, hidden images, known tracking services, and any picture whose address contains your own address (as typed, URL-encoded, or base64, standard or URL-safe); then WebKit's content blocker (WKContentRuleList) refuses the same patterns, in case the rewrite read some odd markup differently from WebKit. If the rules can't be compiled, nothing remote loads.
  • Decrypted mail is stricter. Decrypted S/MIME mail never loads remote content, even from trusted senders: S/MIME's AES-CBC can be modified without detection, which is how EFAIL exfiltrated plaintext through image URLs. Decrypted PGP mail loads it only when you ask for that message.
  • Tested in a real WebKit: tests/htmlpage loads a message that tries nearly 30 different ways to reach a server, all pointed at a listener in the test, and fails on any connection at all, even one that sends nothing.

OpenPGP

Library: GopenPGP 2.11.1 over ProtonMail's go-crypto 1.5.2 (the OpenPGP library behind Proton Mail), compiled into the app with gomobile. No GnuPG, no plug-ins, no external processes.

Keys you make in dumbmail: an OpenPGP v4 key with an Ed25519 primary key for signing, an X25519 subkey for encryption that every OpenPGP app can use, and an ML-KEM-768 + X25519 subkey (post-quantum, draft-ietf-openpgp-pqc). Apps that know ML-KEM encrypt to the post-quantum subkey; others ignore it and use X25519. An existing key can be upgraded with a post-quantum subkey without changing its fingerprint. Preferences: AES-256, SHA-256, ZLIB, and AEAD: the key says it reads RFC 9580's authenticated encryption (SEIPD v2, AES-256 with OCB first), so apps that can send that to it do.

Sending

  • PGP/MIME (RFC 3156). Signed only: multipart/signed with a detached signature. Encrypted: multipart/encrypted, signed inside the encryption (RFC 3156 §6.2), as other apps send it.
  • Authenticated encryption when everyone can read it. If every recipient's key (yours included, since you get a copy) says it reads AEAD, the message is SEIPD v2 (RFC 9580) with the cipher and mode they all prefer: AES-256 with OCB between keys made in dumbmail. If any key doesn't say so, the whole message is SEIPD v1 with OpenPGP's MDC, which every OpenPGP app reads; GnuPG's keys never advertise v2, so mail to GnuPG users is always v1, and PGP/dumbmailpgp's tests check that GnuPG opens it. Cipher otherwise: AES-256 when every key lists it, else the strongest one they all list. No compression.
  • Encrypted mail is also encrypted to you, so your Sent copy is readable.
  • Autocrypt (Level 1): every message from an address with a key carries an Autocrypt: header with your public key.
  • Subject: see encrypted replies, drafts and subjects.

Receiving

  • PGP/MIME and inline PGP, nested up to 4 layers (encrypted inside signed inside encrypted, and so on).
  • Integrity is enforced. Messages without an MDC are refused, not shown "with a warning".
  • Inline PGP is opened only when it's the whole message. Encrypted text with anything else around it isn't decrypted. That stops someone wrapping a copy of your encrypted mail in their own words, hoping you'll reply and quote the decrypted text.
  • Clear-signed text with other text around it is shown exactly as it came, with an amber note that only part of it is signed.
  • Which signatures count: a signature is checked first against keys you've vouched for (imported by hand, marked verified, or your own). Only if none of those made it is it checked against keys dumbmail picked up automatically (Autocrypt, an attached key, WKD). A valid signature from one of those is shown amber, "key not verified", never green: anyone can send a key with your boss's address on it, inside the very message it signs ("Johnny, You Are Fired", 2019).
  • Learning keys: from Autocrypt headers and attached keys, only if the key's user ID matches the From address; a key for an address that already has one isn't replaced without you doing it in Settings. A key that has gained a post-quantum subkey (same fingerprint) is updated.

Where keys live: your private keys in the macOS Keychain (see what's stored on your Mac), not passphrase-locked; the Keychain and your Mac's login are their protection. Other people's public keys are in the app's preferences (they're public).

S/MIME

Library: macOS's Security framework (CMS), as Apple Mail uses, plus dumbmail's own code for one part (below). Certificates and private keys are in your Keychain.

Sending

  • Signed: multipart/signed, SHA-256, with your certificate chain and the S/MIME capabilities, encryption-key preference and signing-time attributes.
  • Encrypted: CMS EnvelopedData. When every recipient has an RSA certificate (nearly all S/MIME certificates), dumbmail builds the envelope itself so it can use AES-256-CBC, with the content key wrapped by RSA PKCS#1 v1.5, which is what Apple Mail, Outlook and Thunderbird read. macOS's own encoder can't choose its cipher and picks Triple-DES. For a recipient with a non-RSA (elliptic-curve) certificate, dumbmail has to use macOS's encoder, so that message is Triple-DES. (A known gap: see known limits.)
  • Signed and encrypted: signed first, then encrypted. Encrypted mail is also encrypted to you.

Receiving

  • Detached and opaque signatures and encryption, nested up to 4 layers.
  • Signers are checked with Apple's S/MIME policy (kSecPolicyAppleSMIME): the certificate has to be one for email, not just any certificate with a valid chain. If the policy can't be set up, the signature is reported invalid; there's no weaker fallback.
  • The badge says who signed and whether that matches the From address: green (trusted, matches), amber (not trusted on this Mac, or a different signer), red (changed or broken).
  • Certificates from people's signed mail are remembered so you can encrypt to them.

Encrypted replies, drafts and subjects

The worst attacks on encrypted mail don't break the cryptography: they get you to leak the plaintext. dumbmail's rules:

  • Replies and forwards of encrypted mail start with Encrypt on, and Compose says why.
  • Drafts of encrypted messages are saved encrypted to your own key or certificate (unsigned) before they reach the Drafts folder on the server. If that can't be done, the draft isn't saved to the server rather than saved readable.
  • Quoting decrypted mail in a reply happens only when the original is signed by its From address (valid, unverified key, or untrusted certificate that matches the sender) and the reply goes back to that address alone. Otherwise the reply starts without the quote and Compose says why. This closes "Re: What's Up Johnny?" (2023), where an attacker resends your encrypted mail as their own and waits for you to reply quoting it.
  • Protected subject (on by default, per account: Settings ▸ Accounts, under Outgoing mail): encrypted mail goes out with Subject: ... and the real subject, From, To, Cc, Date, Message-ID and threading headers copied inside the encrypted part, marked protected-headers="v1" (the convention Thunderbird, K-9 and Delta Chat use). Reading, dumbmail takes the subject from inside when it's marked that way or with RFC 9788's hp= parameter, and ignores an inner Subject that isn't marked. From, To and Date stay visible outside, because servers need them to deliver the mail. Apps that don't know protected headers (Apple Mail, Outlook) show "...". The message list shows "..." until you open a message, because putting the real subject in the list would mean storing it unencrypted.

What's stored on your Mac

WhatWhereProtection
Mail cache, search index, learned data, provider contacts~/Library/Containers/app.dumbmail/…/Application Support/, one SQLite database per accountSandbox; FileVault if on; optionally SQLCipher 4.19 (below). Excluded from Time Machine. secure_delete on, so deleted messages are overwritten, not left in free space
Cache keyKeychain256 random bits from SecRandomCopyBytes
Passwords, OAuth refresh tokens, your PGP private keys, automatic-backup passphraseKeychainData-protection keychain, kSecAttrAccessibleAfterFirstUnlock, not synced to iCloud
S/MIME certificates and private keysYour login keychain, managed by macOSAs macOS protects them
Others' PGP public keys, learned S/MIME certificates, settingsApp preferencesPublic data, not encrypted
Messages waiting to send (Send Later, failed sends)Beside the cacheEncrypted with the cache encryption when it's on (below)
Opened attachmentsA temporary folderDeleted when you quit
Spotlight index, widget summary, notificationsmacOSApple's protection; each can be turned off

Cache encryption ("Encrypt mail saved on this Mac", off by default): SQLCipher with its standard settings (AES-256-CBC per page, HMAC-SHA512 page authentication), keyed with the raw 256-bit key, so there's no password-stretching step and nothing to guess. Turning it on or off rewrites every cache, resumably.

Waiting messages are sealed with AES-256-GCM (CryptoKit) under a key derived from the cache key with HKDF-SHA256 (its own label, so it's never the same key used twice). Files from before encryption was turned on are converted at launch; turning encryption off decrypts them before the key is deleted. If the key can't be had, nothing is written, rather than writing the message in the clear.

What it doesn't cover, as Settings says: copies from before you turned it on (an APFS snapshot, say), the Spotlight index, the widget summary, notifications, and unencrypted backups.

Backups

  • Format: plain folders with a README (mbox, vCard, JSON), so they open without dumbmail.
  • Encrypted backups are an OpenPGP symmetrically encrypted tar (.tar.gpg) that standard gpg (2.2+) opens: AES-256, passphrase stretched with iterated-and-salted S2K (SHA-256, 65,011,712 bytes, the maximum), MDC integrity, no compression. Automatic backups encrypt each month of mail separately with the same passphrase, under file names that say nothing about what's inside.
  • Private keys go into a backup only if you tick the box: PGP keys in either kind of backup (with a warning for an unencrypted one); S/MIME identities only in an encrypted backup, as a PKCS #12 file exported by macOS, protected by the same passphrase.
  • Restore checks paths and links in the archive, never writes outside its own folder, and cleans up after a failure.

Known limits and compromises

All of these are deliberate or known; none is hidden.

  1. No independent audit yet (see the principles).
  2. PGP falls back to SEIPD v1 (MDC) whenever any recipient's key doesn't advertise AEAD, which includes every GnuPG user and keys made in dumbmail before November 6, 2026. MDC is sound when integrity failures are fatal, and in dumbmail they are. And if you move your dumbmail key to an app that can't read AEAD (GnuPG 2.4, for one), mail that came to it as v2 won't open there.
  3. S/MIME encryption is AES-CBC, without integrity protection, as in every S/MIME mail app; there's no authenticated mode most recipients can read yet. dumbmail's defenses are against what attackers do with that (no remote content ever in decrypted S/MIME). Key transport is RSA PKCS#1 v1.5, which is what recipients' apps can read.
  4. S/MIME to elliptic-curve certificates uses Triple-DES, because only macOS's encoder supports them and it doesn't let the cipher be chosen.
  5. Trust on first use. Keys picked up automatically are used for encryption when there's nothing else; dumbmail warns when they're unverified rather than refusing.
  6. Your PGP private keys aren't passphrase-locked inside the Keychain. The Keychain, your login password and FileVault protect them. A locked key you import is unlocked once and kept that way.
  7. Metadata is visible to your provider: who you write to, when, and how big the message is. The subject is hidden only in encrypted mail with protected headers on.
  8. Web Key Directory lookups tell the recipient's domain that their address is being written to (and from your IP). On by default because it's how encryption works without setup; off in Settings ▸ Privacy.
  9. Spotlight, widgets and notifications keep their own copies of senders and subjects (and Spotlight, message text) outside dumbmail's encryption. Each can be turned off.

Security changelog

Before release, on November 6, 2026, dumbmail's security was reviewed from the code (a self-review, not an outside audit), and these were found and fixed, each with a test:

FoundFixed
Blocked HTML mail could still open a connection to its sender with <link rel=preconnect> (a way to tell a message was opened)<link> removed unless everything may load; tested in real WebKit
A PGP signature by a key that came in the same message showed greenKeys picked up automatically show amber until verified
Replies to encrypted mail weren't encrypted, and their drafts sat readable on the serverEncrypt starts on; drafts are saved encrypted
Replies quoted decrypted mail wherever they were goingQuoted only when signed by the sender and going back to them alone
Encrypted text wrapped in other text was decryptedOpened only when it's the whole message
Text added around a clear-signed block looked signedShown as it came, marked "only part is signed"
Some markup got trackers past "skip trackers"WebKit's content blocker refuses them too
Decrypted S/MIME mail could load remote content (EFAIL-style)Never loads it
S/MIME signers weren't checked against the S/MIME policyNow they are, with no fallback
IMAP could send a password without TLS if TLS was switched offRefused, except to a server on this Mac
Send Later and failed sends kept messages unencrypted on diskEncrypted along with the cache
No warning when encrypting to an unverified keyCompose warns
Subjects of encrypted mail were visibleProtected headers
The cache-encryption setting overstated what it coversReworded
PGP never sent RFC 9580's authenticated encryption (SEIPD v2), and keys made here didn't offer to receive itv2 (AES-256-OCB) when every recipient's key supports it, v1 with MDC otherwise; new keys advertise it
IMAP accepted TLS 1.0 and 1.1 (a library default), and SMTP and ManageSieve didn't set a minimumTLS 1.2 or later for all three, unless an account is set to allow older for an old server (with two warnings); tested against 1.1-, 1.2- and 1.3-only servers
A failed TLS handshake on SMTP or ManageSieve could crash the app (Foundation's async stream-task calls resumed twice when the connection was then closed)Completion handlers awaited with a guard; found by the TLS test

Future findings, from us or from anyone else, will be added here with the version that fixed them.

Check it yourself

  • Network: run Little Snitch or LuLu and compare what dumbmail connects to with the list above.
  • Outgoing mail: look at the source of a message you sent (View ▸ Raw Source in most apps). There's no User-Agent or X-Mailer; the Message-ID is a random UUID at your domain; the SMTP greeting is EHLO [127.0.0.1], not your Mac's name. Date carries your time-zone offset, as all mail does.
  • Encrypted mail: decrypt a message dumbmail sent with gpg --decrypt or openssl smime -decrypt, and inspect it with gpg --list-packets or openssl cms -cmsout -print.
  • Backups: gpg --decrypt backup.tar.gpg | tar t.
  • The source: dumbmail's code will be public at github.com/fossella/dumbmail when it launches.
  • Reporting a problem: support@dumbmail.app. We'll answer within 3 days, fix what's real, credit you if you'd like, and add it to the changelog.

Components and versions

ComponentVersionUsed for
GopenPGP2.11.1OpenPGP API
ProtonMail go-crypto1.5.2OpenPGP implementation (incl. ML-KEM)
Go1.27.2Builds the OpenPGP framework
SQLCipher (SQLCipher.swift)4.19.0Encrypted cache
SwiftNIO / swift-nio-ssl (BoringSSL)2.104.0 / 2.37.5IMAP connections and TLS
swift-nio-imaprevision 14ad388, vendored with a small marked change for the TLS minimumIMAP protocol
Apple Security framework, CryptoKit, WebKitmacOS 15+S/MIME, Keychain, AES-GCM/HKDF, HTML

The tests behind the claims above are in the repository: tests/pgp (with GnuPG interop where installed), tests/smime (checked against OpenSSL), tests/htmlpage (real WebKit, real sockets), tests/sealedfiles, tests/tls (against OpenSSL servers), and the Go tests in PGP/dumbmailpgp.