How foldoy encrypts your mail
Your keys are made in your browser. Mail between foldoy users in the webmail is end to end, and mail from Gmail is encrypted with your key on arrival.
The short answer
Your keys are made in your browser and locked with your password, which never reaches foldoy. Mail between foldoy users is end to end, subject included; mail from elsewhere is encrypted with your key as it arrives.
Where are the keys made?
In your browser, at sign-up, with OpenPGP.js. Your password goes through Argon2id and becomes two values: one logs you in (foldoy keeps only its hash), the other encrypts your private key with AES-256-GCM and never leaves the browser. The server stores your public key and the encrypted private key, and neither value opens the other.
For a mail app such as Thunderbird, you download a key file from Settings, protected by a passphrase shown once. The app then decrypts your mail on your device.
Each alias has its own key, so keys cannot tie an alias to your address. See Email aliases.
What is end-to-end encrypted?
Mail between foldoy users in the webmail, and mail from anyone who uses PGP. The sender's browser encrypts the message, subject and attachments for each recipient, and the server stores only that. Drafts and your Sent copies are encrypted in your browser too. If a contact's key changes, the composer warns you before you send.
A message a mail app sends to another foldoy address without encrypting it is encrypted by the mail server as it arrives, body and attachments only.
What about mail from Gmail and other services?
It arrives readable, as all email does, and the mail server encrypts it with your key before storing it, subject line included. Mail you forward from Gmail works the same way. The sender's own provider still keeps its copy.
The subject stays readable in three cases: a message the encryption step cannot reproduce exactly, which the server encrypts itself, body and attachments only; bounce messages the server writes; and mail a mail app sends to another foldoy address without encrypting it.
Mail you send to outside addresses leaves readable, because the other provider has to read it. The composer shows which recipients get end-to-end mail. For someone outside foldoy you can lock a message with a password instead.
What can foldoy's server read?
Who each message is from and to, its time and size, the headers delivery needs, spam-check results, your settings, and mail while it is in transit. The mail server keeps in its logs for 7 days the IP address of each app that connects. What we can see lists every item.
What is privacy+?
An optional key you set in Settings, separate from your password. With it on, only that key opens your mail, foldoy cannot reset it, and the recovery code stops working. Lose it and nobody can open that mail.
What if I forget my password?
The recovery code from sign-up sets a new password and keeps all your mail. A recovery email can reset the login too, but that makes a new key, so older mail then opens only with the code. Lose all three and nobody can open the mail, foldoy included. Mailboxes are backed up, still encrypted. Settings, Export mail, gives you your own copy.
Sign-up asks for an address and a password, and Free costs nothing.
Create your free account