Privacy

Privacy

Envelope is an email client that runs on your own computer and connects to the mail accounts you add. Tyler Martin publishes it and runs no server that your mail, passwords or usage pass through. This page lists what Envelope keeps on your machine, each outside service it can contact and what makes it do so, and what u1f4e7.com collects when you visit.

What Envelope keeps on your computer

Envelope stores its data in one folder: ~/Library/Application Support/envelope-email/ on macOS and ~/.config/envelope-email/ on Linux. If you set ENVELOPE_HOME, the folder is $ENVELOPE_HOME/envelope-email instead.

  • envelope.db, a SQLite database with your account settings, an index of message headers with a short snippet of each message, drafts and their attachments, contacts, rules, tags, snoozes, webhook settings, and a log of the actions you and your agents took. If you trust a certificate for an account with --trust-cert, as you do for Proton Mail Bridge, the database keeps a copy of that certificate. It never keeps a private key.
  • Account passwords, encrypted with AES-256-GCM inside that database. A Google sign-in is stored the same way.
  • The key that unlocks those passwords. By default it is in credentials.json, protected by your passphrase. If you choose --credential-store keychain, it goes in the macOS Keychain or your Linux keyring.
  • config.json for your settings, plus any backup archives you make.

Full message bodies stay on your mail provider's servers. Envelope fetches them over IMAP when it needs them. The exceptions are drafts (a reply can quote the message it answers) and the backups and evidence exports you run yourself.

Your mail servers

Envelope connects over TLS to the IMAP and SMTP servers of each account you add. That is where your mail is read and sent. Your password goes only to your mail provider's servers: IMAP, SMTP and, if you publish Sieve rules, ManageSieve. For a Proton Mail account, those servers are Proton Mail Bridge on your own computer (127.0.0.1), so Envelope sends the password Bridge gave you to Bridge, and Bridge connects to Proton. While the dashboard (envelope serve) is running, it checks your inboxes for new mail every five minutes by default.

When you add an account

If you add an account without naming its servers, Envelope looks up the SRV and MX records for the domain of your email address to find them. It asks the DNS resolver your computer already uses first. Only when that resolver times out, fails, or answers SERVFAIL or REFUSED, or when Envelope can't read your system's DNS settings, does Envelope repeat the lookup with Google Public DNS (8.8.8.8 and 8.8.4.4, or 2001:4860:4860::8888 and 2001:4860:4860::8844 over IPv6), and then Google sees the domain and your IP address. If your resolver answers that the domain has no such records, Envelope stops there. Envelope then opens a test connection to each likely server, such as imap.example.com on port 993, until one answers. You can skip both steps by giving the servers yourself with --imap-host and --smtp-host.

Every other name Envelope looks up goes to the DNS resolver your computer already uses. The one exception is envelope deliverability check, which falls back to Google Public DNS when it can't read your system's DNS settings.

Signing in with Google

A Gmail account can sign in through Google instead of using an app password. The sign-in opens accounts.google.com in your browser, and Envelope exchanges the result for tokens at oauth2.googleapis.com. Envelope asks for Gmail access (the https://mail.google.com/ scope, the only one that allows IMAP and SMTP) and for your email address. It uses the tokens to log in to Gmail's IMAP and SMTP servers and calls no other Google API. When the access token expires, Envelope renews it at oauth2.googleapis.com. When you remove the account with envelope accounts remove, Envelope asks Google to revoke its access.

Envelope uses the mail it reads from a Google account only to show it to you and to the agents you connect, and to carry out what you or those agents ask. It doesn't sell that data, use it for advertising, or use it to train AI models. Envelope's use and transfer to any other app of information received from Google APIs will adhere to the Google API Services User Data Policy, including the Limited Use requirements.

Connections Envelope makes only when you ask

  • Unsubscribing. envelope unsubscribe --confirm, or a rule you write with the unsubscribe action, sends a one-click unsubscribe request (an HTTPS POST) to the URL in the message's List-Unsubscribe header when the sender supports one-click. If the sender lists only an email address, Envelope sends the unsubscribe email through your own mail server. Envelope never opens an unsubscribe link with a GET request and doesn't follow redirects.
  • Webhooks. If you give envelope watch a --webhook URL, add an event route, or write a rule with a webhook action, Envelope posts to that URL. The post can include the sender and recipient addresses, the subject, and a short snippet with one-time codes removed.
  • Reporting phishing. envelope threat report, or the report action in the dashboard, looks up the registrar of the sending domain through RDAP, and the registrar of the domain it imitates when Envelope spots a look-alike. It downloads a list from IANA (data.iana.org), then asks the domain registry's RDAP server and sometimes the registrar's. Only domain names are sent. The result is a draft to the Anti-Phishing Working Group (reportphishing@apwg.org) and the registrars' abuse contacts, with the original message attached. Nothing goes out until you send that draft.
  • Remote images. The dashboard blocks images hosted elsewhere. If you click Load remote images on a message, your browser fetches that message's images from the sender's servers, which can tell the sender you opened it. Opening the next message blocks them again.
  • Sieve rules. envelope rule publish-sieve --confirm uploads your rules to your mail provider's ManageSieve server.

Off unless you turn them on

  • Spamhaus domain reputation. With threat.reputation.provider set to spamhaus-dbl, Envelope checks the sender's domain and the domains of links in each scanned message against the Spamhaus Domain Block List. It sends up to 10 domain names per message as DNS queries through your system's resolver, never full addresses or links, and caches each answer for an hour.
  • ClamAV. With threat.clamd.address set, Envelope sends attachments to the ClamAV daemon at the address you give, for a virus scan.

What Envelope doesn't do

These statements describe the 1.3.26 source code, which is public on GitHub.

  • Envelope has no server of its own. Your mail, passwords, tokens and contacts never reach Tyler Martin or any server he runs.
  • It sends no telemetry, usage statistics or crash reports, and it doesn't check for updates.
  • License keys are checked on your machine. Activating one contacts nothing.
  • It doesn't call any AI model provider itself. The section below covers the agents you connect.
  • It doesn't fetch avatars, link previews or remote images on its own. The dashboard's fonts and code are built into the app.

Agents and MCP clients

When an agent uses Envelope through the command line or the MCP server, including the Claude Desktop extension, Envelope gives the agent what it asks for: message headers, bodies, search results and drafts. The agent sends that content to whichever AI model provider it runs on, and that provider's terms apply. You choose the agent and its provider, and you set what each agent may do. A new agent starts at draft-only, so anything it writes waits for your approval before it is sent. Envelope leaves your Tailscale machine name out of MCP results unless the agent asks for dashboard links.

This website

u1f4e7.com is a static site hosted on Netlify. It counts visits with a self-hosted Umami instance at umami.tmrtn.com. The Umami script sets no cookies. For each page view it sends the page address and title, the page you came from, your screen size and your browser language, and it records clicks on buttons such as Copy and the GitHub links. Your IP address reaches Netlify and the Umami server with each request, as it does with any website.

The install script and Homebrew download Envelope from GitHub, so GitHub's privacy terms cover those downloads.

Removing Envelope

Run envelope accounts remove for each account first. For an account that signed in with Google, this asks Google to revoke Envelope's access, which you can also do at myaccount.google.com/permissions.

Then delete the program and its data. Uninstall the program with brew uninstall envelope, or delete ~/.local/bin/envelope if you used the install script, and remove the Claude Desktop extension or agent plugin if you installed one. Delete the folder that holds Envelope's database and encrypted credentials: ~/Library/Application Support/envelope-email/ on macOS, ~/.config/envelope-email/ on Linux, or envelope-email inside $ENVELOPE_HOME if you set it. On macOS, Envelope may also keep its encryption key in your login keychain under the name envelope-email; delete that entry in Keychain Access. Envelope keeps no copy of your data anywhere else.

Questions and changes

Send questions about this page to Tyler Martin at privacy@u1f4e7.com. When Envelope's network behavior changes, Tyler updates this page and its effective date.