Security
Last updated 6 November 2026
Matter Mail is built so that your email stays between your own devices and your mail provider. This page explains in plain language how we protect your mail, what our push notification servers hold and why, how your data is encrypted, and how to report a security issue to Lemon Arc Solutions Ltd (“we”, “us”).
On-device storage and direct connections
- Direct to your mail provider: Matter Mail on your Mac, iPhone, iPad and Apple Watch connects straight to your provider (Google's Gmail and People APIs, Microsoft's Outlook servers, or your own IMAP and SMTP servers) over TLS. We do not run a mail proxy or a cloud copy of your mailbox.
- Stored on your devices: Your messages, attachments and address book suggestions live in a local database on your device, protected by Apple's built-in device encryption (Data Protection on iPhone, iPad and Apple Watch; FileVault on Mac). Sign-in tokens and passwords are stored in the Apple Keychain.
- Synced through your own iCloud: Your settings, Matters, snoozes, scheduled sends and rules sync across your devices through your personal Apple iCloud account. We have no access to your iCloud storage.
On-device AI and local MCP on Mac
Matter Mail's AI summaries and status updates run entirely on your device using Apple's built-in Foundation Models. Your email content is never sent to third-party cloud AI services.
On Mac, you can optionally turn on a local Model Context Protocol (MCP) server in Settings so AI tools on your own Mac can read or draft mail for you. It is off by default, listens only on your Mac's local loopback interface (127.0.0.1), checks the request Origin header, and requires a random 256-bit bearer token stored in your Mac's device-only Keychain. Writing and sending require a separate opt-in toggle, and Matter Mail always shows a native confirmation sheet with the full recipients, subject and message body for your approval before any email is sent.
What our push notification servers hold and why
On iPhone, iPad and Apple Watch, Apple's operating systems don't allow an app to stay connected to every mail server in the background at all times. To deliver fast notifications without storing your mailbox, we run a small push service on Cloudflare (push.lemonarc.com):
- Device routing records: Your device's Apple Push Notification service (APNs) token, the email addresses you've registered for notifications, and for Gmail the latest mailbox history number (
historyId). - Gmail notification filtering: Because Google's push notice only says that a mailbox changed (even when you archive or read mail elsewhere), our push service keeps an encrypted copy of your Gmail sign-in token so it can check whether new unread mail actually arrived in your inbox and read the sender, subject and short snippet to build the notification. It never fetches message bodies or attachments, never modifies your mailbox, and never stores message headers, subjects, senders or snippets once the notification is sent.
- IMAP push relay on iPhone: For IMAP accounts on iPhone (app passwords, iCloud, Outlook and others), an isolated container holds the account's sealed sign-in (encrypted with AES-256-GCM) and connects to your IMAP server in read-only mode (
EXAMINE INBOXandIDLE) to watch for new mail. It checks only whether new mail is unread and when it arrived, and sends your device a wake-up push so your device can fetch the mail itself. If you use rules, blocked senders or Inbox Sorting on an IMAP account, those need the relay to read the sender, recipients, subject, date, read status and a few other headers of new mail in that account, so filtered emails don't notify you at all; you're asked before turning any of those on, and can turn it off per account in Settings, which stops those features on that account. It never reads the message itself and keeps none of what it reads. The rules, blocked senders and Inbox Sorting settings for that account are held sealed on the relay, and the people you correspond with are held only as hashes. - Automatic expiry and deletion: When you remove an account in Matter Mail, turn notifications off for it, or revoke access at your provider, the push service deletes what it holds for that account immediately. If your device stops checking in (for example, if you delete the app while offline), all registration and token records expire automatically after 60 days, and we keep no server-side backups of them.
Encryption
- In transit: Every connection between the app, your mail provider, our push service and Apple Push Notification service uses HTTPS or TLS 1.2+.
- At rest on your devices: Credentials are stored in the hardware-backed Apple Keychain, and your local mail database is protected by Apple's platform encryption.
- At rest on our push service: Gmail refresh and access tokens stored in Cloudflare Workers KV, as well as the sign-in details, rules, blocked senders and Inbox Sorting settings stored for the iPhone IMAP relay, are encrypted at the application layer with AES-256-GCM using a unique 96-bit random initialisation vector per write and your account key bound as Additional Authenticated Data (AAD), on top of Cloudflare's storage encryption (and the people you correspond with are held only as hashes). Decryption keys are held exclusively in encrypted Cloudflare Worker Secrets and are never kept in source code or storage tables.
Google API Limited Use compliance
For Gmail accounts, Matter Mail requests the gmail.modify scope to display, compose, send and organise your mail, and—only if you turn on contact suggestions—requests read-only access to your Google contacts (contacts.readonly, contacts.other.readonly and userinfo.email) strictly on your device.
Matter Mail's use and transfer of information received from Google APIs to any other app will adhere to Google API Services User Data Policy, including the Limited Use requirements. We never use Google user data for advertising, never sell it, never use it to train AI models, and no human at Lemon Arc reads your mail. You can revoke access at any time at myaccount.google.com/permissions.
Reporting a security vulnerability
If you discover a security vulnerability in Matter Mail, our push service, or this website, please tell us so we can fix it quickly:
- Email: security@mattermail.app
- RFC 9116 security.txt: https://mattermail.app/.well-known/security.txt
Please include steps to reproduce the issue, the affected app version or URL, and any proof-of-concept details. When testing, please only use accounts you own, avoid disrupting the service for others, and do not access or modify anyone else's data. For researchers who follow these guidelines in good faith, we will not pursue legal action over your research.
Response times
- Acknowledgement: Within 3 business days of receiving your report.
- Initial assessment: Within 7 business days, with our severity assessment and expected fix timeline.
- Remediation targets: Critical server vulnerabilities within 48 hours (client updates submitted within 7 days); high-severity issues within 7 to 14 days; medium-severity issues within 30 days.
We ask that you give us a reasonable window (up to 90 days, or until a fix is released) before disclosing a vulnerability publicly. For general privacy questions or data deletion requests, see our Privacy Policy or email hello@mattermail.app.