Privacy policy
Draft for review. [OPERATOR_NAME] must have this checked by a lawyer in [JURISDICTION] before zedmail opens to the public. Effective [EFFECTIVE_DATE].
Who we are
zedmail is run by [OPERATOR_NAME], [OPERATOR_ADDRESS] ("we", "us"). You can reach us at [CONTACT_EMAIL].
zedmail gives you one email address at zedm.online. It works through:
- the app at app.zedm.online
- the Telegram Mini App
- the sign-up page at ticket.zedm.online
- the page at view.zedm.online, where people outside zedmail read password-protected messages you send them
The short version
- We store your mail encrypted with keys we don't have. A breach of our servers does not expose your stored mail.
- Mail between zedmail users is end-to-end encrypted.
- Your password never leaves your device.
- Nothing we store links your zedmail address to your Telegram account.
- We keep no IP addresses, login history or analytics.
- If you forget your password and lose your recovery phrase, your mail is gone. We cannot recover it.
These promises have limits, and we state them plainly:
- Your Telegram link is protected in what we store, not against someone who controls our servers and watches sign-ups as they happen.
- Your password's strength matters if our servers are fully compromised.
- Mail to and from providers that don't use OpenPGP can be read by those providers, and passes through our servers in readable form while it is sent or received.
- Using the Mini App means trusting Telegram's app.
The rest of this policy explains each of these.
Signing up with Telegram
Why Telegram. We use Telegram once, to check that each person signs up only once, without asking for an email address or a phone number.
What happens. On ticket.zedm.online you sign in with Telegram, or you open the zedmail Mini App in Telegram. Telegram then tells our sign-up service your Telegram user ID, together with the profile details it includes, such as your name and username.
- Your user ID is used to check that this Telegram account hasn't had a sign-up ticket before.
- Your name and username are sent, sealed, to your own device, so the app can warn you if the address you pick looks like them. They are then discarded.
- Everything else Telegram sends is ignored.
None of these details are stored, logged or sent to the part of zedmail that holds your mailbox.
What the sign-up service keeps. It keeps a single value: a keyed, deliberately slow hash of your Telegram user ID. It is stored in its own database, with no date and nothing else, in random order. Its only use is to refuse a second ticket to the same Telegram account. It is never connected to your address.
The ticket. Your device asks for a sign-up ticket in a blinded form, and the sign-up service signs it without being able to see it. Your device then unblinds the ticket and uses it to create your account.
- When the ticket is used, the account service records that it has been spent, with the quarter it was issued in, so it can't be used twice. Nothing else is recorded.
- Your device does a little computing work when it asks for a ticket. This slows down mass sign-ups, and nothing about your device is sent.
What Telegram knows. Telegram knows that your Telegram account asked for a zedmail sign-up ticket, and when. It does not learn which address you created.
- The Mini App runs inside Telegram's app, so you also trust that app while you use it.
- For the most separation, finish signing up and use zedmail in a normal browser.
The limit. Someone who controls our servers and watches them as you sign up could try to match the ticket request with the account it created, by timing or network address. This is easiest while few people use zedmail. To make it much harder, choose "Create my account later", and finish on another device or network, or over Tor.
What we store about your account
Encrypted with keys we never have:
- the content of every message, with its attachments
- each message's summary: sender, recipients, subject, date and a short preview
- read and starred flags
- drafts
- folder names
- contacts and the keys you have for them
- your settings, including your signature and auto-delete rules
- your search index
- your private key, and any older private keys after you replace your key
- the names you give remembered devices
Stored as it is, because the service can't work without it:
- Your address and public key. The key is published so that others can write to you encrypted. It is also published through your domain's key directory (WKD), unless you turn that off in Settings.
-
For signing in:
- an OPAQUE record for your password: not the password, and nothing we can check a password against on our own
- the public half of your recovery key, and of each remembered device's key
- copies of your Account Key, encrypted so that only your password, your recovery phrase or that device can open them
If someone stole both our database and a secret key we keep apart from it, they could try to guess your password offline. Each guess is made slow on purpose, and the app refuses weak passwords. But a password that can be guessed can still fall.
- Sessions: a hash of each session's token, and the day it expires, shifted by a random number of days.
- Remembered devices: the day each one stops being remembered, also shifted at random.
-
For each message:
- which folder it is in: Inbox, Spam and so on, or a random number standing for one of your own folders
- the order messages were stored in
- its size, rounded up
We need the folder to show your mail page by page and to file spam as it arrives.
- Password-protected messages you send: encrypted with the password you chose, which we never learn. Each is stored with its expiry day and how many replies are left, and deleted on its expiry day.
- Notifications: if you turn on notifications, the push address your browser gives us. It is sealed with a key kept outside the database.
-
About your account:
- its standing: active, sending suspended, or suspended
- if we delete it for breaking our terms, the day it will be deleted. This exists only until then
- how much storage it uses
- whether your key is published by WKD
- while your account is new, a rough date, shifted at random, when its sending limits are next reviewed. It is removed once they are.
What anyone with a copy of our database could learn is listed above: for example, how many messages are in each of your folders, roughly how large they are, and how many devices you have remembered. They could not learn any message content, subject, sender, recipient, folder name, contact or search term.
What we never store
We never store or log:
- IP addresses
- sign-in times or login history
- device details or browser user agents
- your Telegram name, username, photo, phone number or user ID
- analytics or any record of how you use zedmail
Our web servers keep no access logs.
What exists briefly, in memory only:
- Network addresses are used for rate limiting. Each is reduced to a keyed hash under a key that changes every day and is never written down.
- Counters of failed sign-ins (per address) and of mail sent (per account) expire by themselves, within hours to a day.
- Counts of how many messages, across the whole service, arrived from other providers, went to them and went between zedmail users, each minute and each hour. They don't say whose mail it was, and they expire within a day. We use them to see how busy the service is.
On your device
zedmail keeps these in your browser:
- the sign-up ticket, until you use it
- the credential for a remembered device, if you choose to be remembered
- copies of sent mail waiting a few seconds to be stored (encrypted)
- your light or dark choice
Your unlocked keys are held in memory only, and cleared when zedmail locks.
There is one cookie, on app.zedm.online, which keeps you signed in. It is strictly necessary, and can't be read by scripts or other sites. There are no tracking cookies, and so no cookie banner.
How your mail is handled
Between zedmail users: encrypted on the sender's device for each recipient, and signed.
- Our servers deliver it. While doing so they know the sender and recipients, in memory only, and keep no record of them.
- Short random delays make deliveries harder to match up.
From other providers: mail arrives over SMTP, encrypted in transit when the sending server supports it.
- Our mail server checks it for spam and for signs of forgery (SPF, DKIM and DMARC). It then encrypts it to your key and stores it.
- For that moment, the message is readable in our mail server's memory. It is never written to disk unencrypted, and the spam check keeps no history.
- If the sender had already encrypted it with OpenPGP, it stays encrypted.
- To keep spam out, we check the address of the server that sent the message against blocklists run by [BLOCKLIST_PROVIDER]. They learn that this server sent mail to zedmail, not to whom.
To other providers:
- If every recipient has an OpenPGP key, your device encrypts the message, and our servers see only the encrypted message and the addresses it goes to.
-
Otherwise, the message reaches our server readable, over an encrypted connection.
- Our server checks it for spam and abuse, signs it to show it really comes from zedm.online (DKIM), and sends it.
- It waits in our mail server's memory until it is delivered, for at most 2 days, and is then gone.
- The recipient's provider can read it.
- The app shows you, before and after sending, how each recipient will get it, and whether the connection was encrypted.
- Either way, the servers mail passes through can see its headers: From, To, Subject and Date.
- Instead, you can send a password-protected message. The recipient gets a link to view.zedm.online and needs the password, which you give them yourself.
Finding keys: before you write to someone, our server looks for their OpenPGP key on your behalf, at their domain (WKD) and at keys.openpgp.org. Those services see our server asking, not you. The answers are kept in memory for a short time.
Your key in outgoing mail: outgoing mail carries your public key in an Autocrypt header, so other apps can encrypt replies. You can turn this off.
Images: images from the internet in mail are blocked. If you choose "Load images", our server fetches them for you. The sender's server then sees our server, not you, and gets no cookies.
Other companies involved
- Telegram, once, at sign-up (above).
- Your browser's push service, only if you turn on notifications: Google for Chrome and most other browsers, Apple for Safari, Mozilla for Firefox, Microsoft for Edge. It learns when you receive mail, at most once every 10 minutes. It never learns what the mail is or who it's from: the notification says only "You have new mail".
- Other mail providers, for mail you exchange with their users.
- keys.openpgp.org and recipients' domains, for key lookups (above).
- [BLOCKLIST_PROVIDER], for spam blocklists (above).
- [HOSTING_PROVIDER], which runs our servers. It sees only encrypted disks and encrypted traffic, plus mail in transit as described above.
We use no analytics, advertising, content delivery networks, external fonts, error trackers, CAPTCHAs or password breach-check services.
How long we keep things
- Your account and mail: until you delete messages or your account.
- Trash and Spam: your devices delete them after 30 days, unless you change this under Settings โ Auto-delete. You can also set rules for other folders.
- Password-protected messages: until their expiry day: 28 days unless you choose otherwise.
- Outgoing mail to other providers: at most 2 days in memory, while it is delivered.
- Server error logs: in memory, for at most 6 hours, with addresses, network addresses and tokens removed.
-
Backups:
- Account data is backed up every 6 hours and each backup is kept for 7 days. Backups are encrypted, and hold only what is described above.
- The sign-up service is backed up weekly, and only one copy is kept.
- The two are kept apart.
Exporting and deleting
Export: you can export all your mail at any time, from Settings โ Export your mail. The export is built on your device, as an .mbox file, optionally encrypted with a password.
Deletion: deleting your account, from Settings โ Delete account, removes everything at once, except two records:
- a keyed hash of your address, so it is never given to anyone else
- the record that your sign-up ticket was used
Copies in backups disappear as those backups expire, within 7 days. We may give you a new sign-up ticket when you delete your account, signed so that we can't link it to the old one.
If we delete your account for breaking our terms, it is suspended for 30 days first, so you can export your mail, and then deleted in the same way. No new sign-up ticket is given.
Your rights
Depending on the law of [JURISDICTION], you may have the right to access, correct, delete and take away your data, and to object to how it is used.
- Export and deletion cover access, deletion and portability. Settings covers correction.
- We can only identify you by your address, and we can't read your mail. So we can act on a request only when it comes from your account: made in the app while you are signed in, or sent from your zedmail address to [CONTACT_EMAIL].
- We cannot tell you, or anyone else, which Telegram account created an address. We don't know.
We don't sell data, profile you or show advertising. The only automatic decisions about your account are spam filtering, and sending pauses when too much of your mail bounces or is refused as spam. The app tells you when a pause applies, and it lifts by itself.
You can complain to [SUPERVISORY_AUTHORITY].
Requests from authorities
We answer only valid legal demands, as the law of [JURISDICTION] requires. We can hand over only what we hold: the things listed under "What we store", and copies in backups. We cannot decrypt your mail, and we have no record linking your address to a Telegram account.
We publish a warrant canary and transparency reports.
We could be compelled to change how the service works in future. For example, we could be made to serve app code that captures a particular user's password. The app's code is open, and its builds can be reproduced and checked against what we serve, which makes such a change detectable.
What we can't protect against
- A weak password, if our servers are fully compromised (above).
- Someone who controls our servers and watches sign-ups live (above).
- Linking yourself: for example, picking an address that matches your Telegram username or real name, or writing from it to your Telegram contacts.
- What Telegram itself knows (above).
- Mail exchanged with providers that don't use OpenPGP, while they hold it and while it passes through our servers (above).
- Malicious app code served to you by a compromised or coerced server (above).
- Malware on your own device.
Children
zedmail is not for anyone under [MINIMUM_AGE].
Changes to this policy
We will say in the app when this policy changes, and give the date of each version here. If a change would let us collect anything new about you, we will ask first.