SecureMail is a security-focused email client for Ubuntu Touch, built for everyday mail without a persistent local mailbox.

Mail is read live from your IMAP server. SecureMail does not keep an offline mailbox, local message database or autosaved drafts. If IMAP is unavailable, there is no cached mailbox to display. Attachments you explicitly save and text you copy leave the app's in-memory storage.

Security and privacy
Account details, mail passwords and an optional SSH private key are stored in an AES-256-GCM encrypted vault protected by your SecureMail password. Unlock on app startup; suspend/resume does not require another unlock while the same process remains open. Choose a strong, unique password.

IMAP and SMTP require TLS 1.2 or newer, with certificate validation and STARTTLS support. HTML mail is converted to plain text; remote images, scripts and styling are not loaded. Links open externally only when tapped. Standard confinement uses networking and Content Hub import/export permissions. No tracking, telemetry or ads.

Mail features
- To, Cc, Bcc, email aliases, a From selector and automatic reply identity matching.
- Server-side search, read/unread controls and server-side Sent copies.
- Send and receive attachments; save through Content Hub. Attached .eml messages display inline.
- Select and copy message text; pick contacts through Content Hub with in-memory recipient autocomplete.
- Light and dark themes.

Optional SSH tunnel
Route only SecureMail's IMAP/SMTP traffic through your own SSH server and its HTTP CONNECT proxy, without a system-wide VPN or proxy. SSH uses private-key authentication and an independently verified server fingerprint. Mail TLS remains mandatory. If the tunnel fails, mail does not fall back to a direct connection. A fresh token and configured mail destinations restrict access to the local relay.

Use a dedicated forwarding-only SSH account, not root. The source includes a server setup script and instructions; the HTTP CONNECT proxy must be configured separately. Connection progress, manual reconnect and copyable SSH diagnostics are available. Logs exclude passwords, private keys and mail content but can contain network addresses.

Backup and restore
Import settings or migrate phones using JSON through Content Hub. Credentials are excluded by default. A credential-free import prefills account setup: enter credentials and a new vault password, then save to connect. Optional backups with secrets contain the encrypted vault, not plaintext mail passwords, and require the original SecureMail password. Protect these backups.

Compatibility
Requires password-based IMAP/SMTP access. OAuth is not supported. Known to work with Postfix/Dovecot and Stalwart. No background mail daemon.

Developed using AI. Source code and security design notes are included.
License: MIT No Attribution. Copyright 2026 Barry de Graaff.
