Where your letters are kept, and the archive
What stays on your mail server and what Stjobno keeps, the archive of letters, POP3 mailboxes and Files.
Your letters live on your mail server — Gmail's, Yandex's, your own domain's; Mail shows them and keeps only what it needs to be quick. This page explains exactly what Mail keeps and for how long, the archive of letters (every letter kept here, encrypted with your key, also when the mail server loses it), POP3 mailboxes, which have no folders on the server and work through the archive, and Files — every attachment of your mail in one place.
What Mail keeps of your letters
Your letters live on your provider's mail server, as before. Mail shows them from there and keeps only what it needs to show the list quickly.
The short version for everyone — Safety first: how Stjobno Mail protects your mail, your passwords and your words. Only the headers (sender, recipients, subject, date) stay readable: they are what the list and the quick search are made of. Everything else Mail keeps is encrypted with your own personal key — every person has their own. Letters you share with a team use the team's key.
What is kept here
| What | How long | How |
|---|---|---|
| The headers of your newest letters: sender, recipients, subject, date, read / starred | While the letter is on your mail server | As they are — the list and the search work on them |
| A short first line of a letter you opened — about 100 letters, the grey words after the subject in the list | With the headers | Encrypted with your personal key (since 21.11.2026) |
| The text of a letter you opened, the names of its files, and the translation or AI summary you asked for | Two weeks after you last opened it | Encrypted |
| Attachments | Never | Fetched from your mail server each time you open or download one; a file open in the viewer is held 30 minutes, encrypted (so a video can be wound on) |
| Drafts and scheduled letters, with their files | Until you send or delete them | Encrypted — the recipients, the subject, the text and the files |
| Your notes on conversations and your templates | Until you delete them | Encrypted |
| Letters you shared with your team and the team's discussion | Until the share is deleted | Encrypted with your team's own key |
| Your mailboxes' passwords | Until you remove the mailbox | Encrypted |
Want every letter of a mailbox kept here, whole and encrypted with your own key? That is the Archive of letters — switched on per mailbox (for accounts that have it).
The text of an opened letter
When you open a letter, Mail reads its text from your mail server and keeps a copy for two weeks, so the letter opens at once the next time.
- The copy is encrypted: in the site's database it is not readable text.
- Every time you open the letter again, its two weeks start anew.
- A letter you have not opened for two weeks loses its copy here. Nothing happens to the letter — it is on your mail server. Open it again, and Mail reads it from there as the first time; it only takes a moment longer.
- A translation or a summary the AI made for that letter is kept with the text and goes with it. Ask again, and it is made again.
There is nothing to switch on: this works for every mailbox and every letter.
The short line in the list
The grey words after the subject in the list are the beginning of the letter — about 100 letters. They appear once a letter has been opened (a letter never opened shows only its subject) and stay, so you can recognise the letter in the list later. Like the text, the line is kept encrypted with your personal key; nothing more of the text is kept for good.
Searching the text
The ordinary search looks through the senders, recipients and subjects (the short lines are encrypted, so it does not look through them). With In the text ticked, your mail servers search the letters' texts themselves — the copies kept here are encrypted and are not searched. See Reading mail → Search.
If something looks wrong
- A letter opens slower than usual — its copy here was older than two weeks, so it was read from your mail server again. The next opening is instant.
- "The message could not be read from the mail server" — the mail server did not answer or the letter was deleted there. Try again a little later; see Questions and answers.
- A translation I made is gone — it went with the text after two weeks. Press Translate again.
Files you upload for an import
Moving mail from another program (Import) uploads your files to the site; they are kept only until the import has put their letters into your mailbox — at most 7 days — and then deleted.
Where a deleted message goes
Move to trash (the Delete key, a swipe, the menu) puts the message into the trash folder of its mailbox on the mail server — the same trash your other mail programs show — and you can take it back from the rail's Trash. A message is erased for good only from the Trash itself, and only after you confirm it.
- Mail finds the mail server's trash by itself, in any language ("Trash", "Deleted Items", «Корзина», "Papierkorb" …).
- A mailbox that has no trash folder gets one: the first time you delete something, Mail makes a folder named Trash on the mail server and uses it from then on. You will see it in your other mail programs too.
- If the mail server does not let Mail make the folder, the message stays where it is and Mail says so — nothing is erased because a folder is missing. The same holds for blocked senders and for rules that send mail to spam or the trash.
Archive of letters
▶ Video lesson: The archive of letters
Usually Mail keeps no letters: they lie on your mail servers, and Mail shows them from there (see What Mail keeps of your letters). The archive of letters is the exception you switch on yourself: every letter of a chosen mailbox is kept here too — so if something happens to a mail server, your letters are still yours.
The archive will be a paid function (see Plans); while it is being tested it is free. Every account may use it unless an administrator closed it for that account — then Archive of letters in Mail's settings says You cannot use the archive of letters yet (soon you will be able to ask for it right there, through the site's assistant).
What happens to your letters — point by point
- Folders are kept. Every letter in the archive records the folder of the mail server it lay in. The archive's page has an Every folder filter, with the number of letters in each; in the zip the letters are laid out by mailbox and folder too.
- The trash and spam are not archived. A letter you deleted was already kept from the folder it lay in, so emptying the trash changes nothing in the archive.
- Deleted on the mail server = only a mark. A letter deleted there — by you, by a program or by the service itself — stays in the archive marked Not on the mail server. So does a whole folder deleted on the mail server.
- The service closed or locked the mailbox. The archive reads from our disk, not from the mail server: the letters can be read, searched and downloaded as before. More in If the mail server loses your letters.
- Many letters gone at once. When 50 letters or more — and at least a fifth of them — vanish from a mailbox's mail server, or 1,000 at once, you get a notice: how many, from which mailbox, and that every one of them is kept. The notice waits a day first: a mail server that is only down for a while or being moved to a new one often shows the letters again soon, and then nothing is said and nothing is marked. If they are still gone a day later, you are told. At most once a day per mailbox. If you deleted them yourself, there is nothing to do; if the letters come back, they stop being marked as gone by themselves.
- Deleting the archive — with a check and 30 days to cancel. Delete the archive first asks you to confirm it is you: a code from the authenticator app, a passkey, or a code by e-mail (it always works, even without two-step verification). The mailbox's archive is switched off at once, and its letters are deleted 30 days later; until then the mailbox shows Will be deleted on … with Cancel the deletion. A letter tells you the date — if it was not you, cancel the deletion and change your password.
- An unpaid archive is deleted a month later. Unpaid = the subscription paused for want of money on your balance (new letters are then not kept), or the archive switched off while letters stay. You are warned 28, 7 and 1 day before, and the archive's section shows the date in red with Top up the balance. Paid again — the count starts over. A free archive is never unpaid.
- There is no backup copy of the archive. The archive is itself a copy of your letters beside the mail server; if you want one more, download the zip from time to time.
Why keep an archive
Your mail lives with your provider — and providers close services, delete quiet mailboxes, lock accounts and make mistakes. These things really happened:
- Services close. Verizon retired its verizon.net mail and deleted all the mail, calendars and address books not moved before 15 December 2017 (Verizon).
- Quiet mailboxes are deleted. Google deletes personal accounts unused for two years, mail included, since December 2023 (Tom's Guide); Yahoo deletes the contents of a mailbox not opened for 12 months (Yahoo Help); Outlook.com / Hotmail accounts go after two years without a sign-in (Ask Leo).
- Accounts get locked. People locked out of Outlook.com by an automatic check report that support cannot override it (Microsoft Q&A); a writer lost an address of 25 years "with no appeal" (Goodreads).
- Even the biggest fail. In February 2011 a Gmail software update emptied about 40,000 accounts; Google had to restore them from tape, which took days (TechCrunch).
What the archive gives you:
- Your whole mail in one download — every letter as an
.emlfile in one zip. - Nothing lost when a service closes, deletes a quiet mailbox or locks you out — the archive is on other servers.
- A real backup: a second copy, encrypted with your own key.
Plans
The archive is paid by its size, every month from your balance, as a part of your subscription. The size counted is what the files take on our disk (compressed).
| Archive up to | A month |
|---|---|
| 25 GB | 1.90 € |
| 50 GB | 2.90 € |
| 75 GB | 3.90 € |
| 100 GB | 4.90 € |
- Switching the first mailbox on takes the package that holds your archive (25 GB to start with). The section says what it costs before you switch: the whole month when you have no subscription yet (it starts that day), or only the days left until your subscription's next day when it runs already. Not enough money on the balance = the mailbox is not switched on and the section says so — top up first, or switch the automatic top-up on.
- It grows by itself: when the archive outgrows its package, the next package is taken and the difference for the days left is paid from the balance (you get a notice). When it cannot be paid, new letters wait — nothing kept is lost — until the balance is topped up; the next round then takes the bigger package by itself.
- Switching off every mailbox ends the archive's part of the subscription and gives the days left back to the balance. What was kept stays until you delete it.
- If your subscription is paused (a month not paid), no new letters are kept until it is paid again.
- An administrator may make the archive free of charge for an account; then it is never paid.
- A team may pay for it. When a billing manager of your team ticks you under Payment → Settings → The team pays for the Mail functions of, your archive moves into the team's subscription: the team pays the days left at once and your balance gets its days back. Mail's settings → Archive of letters then says which team pays. Taken off the list, or out of the team, it moves back to your own subscription (when your balance cannot pay it, new letters wait until you top up). See Paying for a team.
What is kept
- Every letter of every folder of the mailbox: the Inbox, Sent and your own folders — old letters and every new one. Not kept: the trash, spam and drafts (a letter you delete or that lands in spam is not archived from there), and Gmail's extra views (All Mail, Important, Starred — they are your other folders again).
- Whole: the letter exactly as your mail server gave it, with its attachments.
- For as long as the archive is on — also after the letter was deleted on the mail server, and after you removed the mailbox from Mail.
- The same letter in two places (a Gmail label, a forwarded copy) is kept once.
Switch it on
- Open Mail → the gear → Archive, POP3 (
/mail/settings/archive). Under Mailboxes the green block Create an archive of letters leads there too. - Beside a mailbox, switch on Keep every letter.
- The letters start coming at once, the newest first. A big mailbox takes a while: a mail server lets only so much be read in a day (Gmail about 2.5 GB), so the archive may say Paused until … — it goes on by itself the next day.
- When it says Every letter is kept, the whole mailbox is in. From then on, new letters are added as they come; a letter you open in Mail is kept the same moment.
A mailbox in the archive wears the chip Archived here in the list of mailboxes; hold the pointer over it to see how much space that mailbox takes in the archive.
POP3 mailboxes
The same section holds the POP3 mailboxes: a mailbox whose server has only POP3 keeps every letter in the archive, and Mail works with it as with any mailbox. POP3 and the archive go on together, and such a mailbox's archive cannot be switched off while it is POP3. Add a POP3 mailbox is there too. How it works: POP3 mailboxes.
Read and search the archive
Open the archive (/mail/archive) lists the kept letters, the newest first:
- Search works like Mail's list: the subject, the sender, the recipients — every word you type must be there.
- Choose a mailbox and a folder — the archive keeps the folder each letter lay in on the mail server — or tick Only those gone from the mail server.
- A letter opens in a window: its text, its attachments (each downloads), and Download the letter (.eml). Pictures from the internet are held back until you press Show pictures, as in Mail.
A letter of an archived mailbox that you open in Mail itself is read from the archive too — no mail server is asked.
Download everything
In the archive's settings, Make the zip builds one zip of all your letters: a .eml file per letter, in folders mailbox / folder / date subject.eml. Any mail program (Thunderbird, Apple Mail, Outlook) opens them or imports the folders. A large archive takes a while; the button Download the zip appears when it is ready, and the zip is kept three days.
Your key
Every letter is encrypted with a key of your own (AES-256), different for every person.
- Your key is given only through two-step verification. Press Show the key and confirm it is you right now: the code of your authenticator app, your passkey, or a code sent by e-mail — whichever you set up. Without two-step verification the section says so and leads to Profile → Security to switch it on (Two-step verification).
- After the check you see the key (32 bytes, written in base64) with Copy, and for ten minutes Download the key file. A short fingerprint tells keys apart without showing them. Six wrong codes = wait a quarter of an hour.
- The key is never shown to somebody working in your account through "Login as".
- With the key you can open the archive's files without the site. Keep it somewhere safe: whoever has it and the files can read your letters.
Open the files yourself
One letter = one file ….stja:
| Bytes | What |
|---|---|
| 5 | the letters STJA1 |
| 12 | the IV (nonce) |
| 16 | the authentication tag |
| the rest | the encrypted data |
- Decrypt the data with AES-256-GCM: your key, that IV and that tag, no associated data.
- Unpack the result with gzip.
- What you get is the letter — save it as
.eml.
In Python (pip install cryptography):
import base64, gzip, sys
from cryptography.hazmat.primitives.ciphers.aead import AESGCM
key = base64.b64decode("YOUR KEY") # Mail settings → Archive → Your key
data = open(sys.argv[1], "rb").read() # a .stja file of the archive
assert data[:5] == b"STJA1"
iv, tag, ciphertext = data[5:17], data[17:33], data[33:]
letter = gzip.decompress(AESGCM(key).decrypt(iv, ciphertext + tag, None))
open(sys.argv[1] + ".eml", "wb").write(letter)
Usually you do not need this: the zip above already holds the letters opened.
If the mail server loses your letters
Nothing the mail server does deletes letters from your archive:
- A letter deleted on the mail server — by you, by a program, by the mail service — stays in the archive, marked Not on the mail server. So does a whole folder deleted there, and the mailbox of a service that closed or locked you out: the archive reads from our disk, not from the mail server.
- Emptying the trash changes nothing here: the trash is not archived, and a letter you deleted was already kept from the folder it lay in.
- When many letters vanish at once from a mailbox's mail server (50 or more, and at least a fifth of them — or 1,000), you get a notice: how many, from which mailbox, and that every one of them is kept. The notice waits a day so that a mail server that is only down for a while or being moved does not alarm you — if the letters come back within that day, nothing is said and nothing is marked. Open the archive and tick Only those gone from the mail server to see the ones that really went. A letter that later reappears on the mail server stops being marked gone by itself.
Switch it off, delete it
- Switching Keep every letter off stops adding letters; what is kept stays.
- Delete the archive beside a mailbox first asks you to confirm it is you — your two-step verification, or a code sent to your e-mail address. Then the mailbox's archive is switched off at once, and its letters are deleted 30 days later: until then the mailbox shows Will be deleted on … with Cancel the deletion, and a letter tells you the date (if it was not you, cancel it and change your password). After the 30 days the letters and their files are gone for good. The letters on the mail server are not touched.
- An unpaid archive (the subscription paused for want of money on your balance, or the archive switched off while letters stay — and the archive not free for your account) is deleted a month later. You are warned 28, 7 and 1 day before, and the archive's section shows the date in red. Top up the balance and the subscription starts again by itself; you can also download the zip before.
- A mailbox removed from Mail keeps its archive; it is listed under the mailboxes with its own Delete the archive.
- Deleting your account deletes the archive and your key.
If something does not work
- "The archive of letters is not open for your account" — the function is not given to your account yet.
- Paused until … — the mail server's daily limit; nothing to do, it goes on by itself.
- A red line under a mailbox — the mail server refused the connection (a changed password, an expired sign-in). Fix the mailbox in Mailboxes; the archive goes on afterwards.
- A very large letter (over 60 MB) is not kept; the rest of the mailbox is.
POP3 mailboxes
Usually Mail works over IMAP: your letters stay on your mail server, and Mail shows them from there. Some mailboxes have only POP3, which can do nothing but hand the letters over. Such a mailbox works in Mail through the archive of letters: Mail takes every letter from the POP3 server into your archive here, and everything else — folders, read marks, stars, the trash, spam, the search — is kept here. To you it looks like any other mailbox. (A short overview for anyone deciding: POP3 support; how POP3 and IMAP differ: POP3 or IMAP?.)
POP3 comes only with the archive of letters: it is switched on for the mailbox together with POP3 and paid as the archive (see Plans). If your account cannot use the archive, the choice IMAP | POP3 is not shown.
Add a POP3 mailbox
- Open Mail → the gear → Archive, POP3 and press Add a POP3 mailbox. (Or: Mailboxes → Add a mailbox, then Mail server settings → Incoming mail → POP3.)
- Type the address and the password. The incoming server is filled in as
pop.+ your domain, port 995 with SSL/TLS (or 110 with STARTTLS). Change it if your provider says otherwise. - The outgoing server (SMTP) is the same as for any mailbox — letters are sent through it as usual.
- Choose Delete the letters from the POP3 server (see below) and press Save. Mail logs in to the POP3 server first; a wrong password or server is said under the field, and nothing is saved.
The first letters come at once: the newest 300 as your Inbox's mail. Letters that were on the server before come in over the next minutes, below them — like older mail on any mailbox; they are not announced as new.
Switch an IMAP mailbox to POP3 (and back)
Open the mailbox (Mailboxes → the mailbox) → Mail server settings → Incoming mail and choose POP3. The incoming server's name and port follow (imap. → pop., 993 → 995); check them, type the password again when the server's name changed, and press Save.
The mailbox is then read again from the POP3 server. What you did with its letters here — your folders, Done, pinned, starred, read — stays with them.
To POP3, the rest comes along. A POP3 server hands over only the Inbox, so when you switch, Mail reads the IMAP server once more and copies into your mailbox here the letters of its Sent, trash and spam, and of the server folders you received (each into its own folder here), with their read and starred marks. The newest letters come first; a very big mailbox gets what fits in about a minute (up to 2,000 letters) — the rest stays on the IMAP server. Switching back to IMAP works the same way; the archive stays on (switch it off in Archive, POP3 if you want).
Back to IMAP, your work goes with it. POP3 cannot move or mark letters on the mail server, so while the mailbox was POP3 every letter stayed in the server's Inbox. When you switch back, Mail first does on the server what you did here: the letters you deleted go to the server's trash, those you marked as spam to its spam, read, starred and answered marks are set there, and the letters you sent are copied into the server's Sent. Your own folders, Done and pinned stay as they were. A letter you deleted for good here (emptied from the trash) is no longer known, so it comes back to the Inbox — delete it again.
Leave the letters on the server, or delete them
Delete the letters from the POP3 server:
- Never — they stay there (the default): your mail program on the computer or the phone still sees them.
- Right after they are taken: the POP3 server is emptied as Mail takes the letters — useful when its mailbox is small.
- After 7 / 30 / 90 days.
Only letters already kept in your archive are ever deleted there.
What works and what does not
- Works as with IMAP: the Inbox, Sent (a letter you send is kept here), the trash, spam, your folders, read and starred marks, rules, the search in the texts, attachments and the library of files, the archive's page and its download.
- Stays here only: everything you do with a letter. POP3 has no folders or marks, so your other programs do not see them.
- New mail comes at every check (about every minute), not in seconds — POP3 cannot tell when a letter arrives.
- Folder (label) sync is not offered: a POP3 server has no folders. A group of mailboxes never changes that.
Turning it off
The archive of a POP3 mailbox cannot be switched off while the mailbox is POP3 — its letters live only there. Switch the mailbox to IMAP first, or remove it from Mail. If the archive stops (it was not paid), Mail stops taking new letters and says so beside the mailbox; the letters wait on the POP3 server.
Files — every attachment in one place
▶ Video lesson: The Inbox and the folders
Files shows every attachment of your mail in one place: invoices, photos, contracts, spreadsheets, archives. You do not need to remember which message a file came with — search for it here.
Files opens right inside Mail, in the white area where the list of messages and the open message are. The folders stay on the left, so one click on a folder takes you back to your mail.
Where to find it
- In the folder rail on the left: Files (the paper clip), under All mail.
- Its menu: right-click Files (on a phone, press and hold it) — Open, then straight to one kind: Pictures, PDF, Documents, Spreadsheets, or Only received files / Only sent files. The page opens with that filter chosen; the filters on the page change it as usual.
- Under the attachments of an open message (under their block, on the left): All files with … opens the library with only the files you exchanged with that person.
- The address is
/mail/files— you can bookmark it; it opens Mail with Files shown.
On a phone, open the folders with the ☰ button in the header and tap Files: Files fills the screen.
Getting back to the mail
- Back to the mail — any folder in the rail on the left (Inbox, Sent, your own folders …); on a phone also the arrow at the left of the terracotta row on top (← | Files).
The terracotta row on top says where you are (Files) and holds the grid / list buttons on the right; the words about Files stand under it. The first time Files opens, a short tour shows its parts; How this page works in the account menu starts it again.
- The browser's Back button (or a phone's Back gesture) works too: it returns to where you were before — the folder or the message you were reading.
- Open the message (the envelope on a file) opens that message in the same place. Back then returns to Files, with your search, filters and place in the list as you left them.
- The search field in the header still searches your mail: typing there and pressing Enter leaves Files and shows the messages found. To search the files, use the field inside Files.
Searching the files
The filters sit in two rows under the title. The first row: the mailbox list (Every mailbox, shown when you have more than one mailbox) and the search field. The second row: two drop-down lists — Inbox and sent (or only Inbox / only Sent) and the kind of file (All files, Pictures, PDF …, each with how many files there are). On a phone each of them takes the whole width.
The search field On a computer the cursor is already in it when Files opens. Type and wait a moment — the list follows as you type; Enter searches at once, × (or Esc) clears the field.
Every word you type must match the file in one of these ways:
| A word… | Finds | Example |
|---|---|---|
| in the file's name, its extension too | files with that name | invoice, pdf, .docx, xlsx |
| naming a kind of file | every file of that kind, whatever its name | photos, pictures, spreadsheet, excel, presentation, archive, video, invitation — also the kinds' names in your language and their beginnings (pict, картин) |
| in the sender's name or address | the files that person sent | anna, hetzner.com |
| in the message's subject | the files of those messages | contract |
Words add up: photos anna = Anna's pictures, pdf hetzner = Hetzner's PDF files. The kind, Inbox / Sent, the mailbox and the person (With …) narrow the search further. When nothing matches, Files says Nothing found for "…" — try fewer words or take a filter off.
What you can do
| You want to… | Do this |
|---|---|
| Find a file | Type in the search field of Files, under its title (the field in the header searches the mail) — see Searching the files: invoice hetzner finds Hetzner's invoices, photos every picture. |
| See only one kind | Open the list All files and choose one: Pictures, PDF, Documents, Spreadsheets, Presentations, Archives, Audio, Video, Invitations. The number beside each is how many files of that kind you have. Only kinds you have are listed. |
| See only what you received or sent | The list Inbox and sent in the second row: choose Inbox (files people sent you) or Sent (files you sent). |
| See one mailbox | The Every mailbox list (shown when you have more than one mailbox). |
| See the files with one person | All files with … under an open message's attachments. Remove the filter with × beside it. |
| Open a file | Click it: it opens over Mail — a picture, a PDF, a video, a table … — with Download, Forward and ×. See Opening attachments. Ctrl+click opens it in a new tab. |
| Download a file | The arrow button on the file. |
| Go to the message | The envelope button: the message opens in the same place. Back returns to Files. |
| Grid or list | The two buttons at the top right. Files opens as a list (it shows more files at once); the grid shows small previews of pictures. Your choice is remembered in this browser. |
The newest files come first. More files load by themselves as you scroll.
Where the files come from
Nothing of a file is kept on this site. Mail remembers only what your mail server says about each attachment (its name, type and size). When you open or download a file, or a picture's preview is shown, it is fetched from your mail server at that moment.
- New mail: its attachments appear in Files as soon as the mailbox is read.
- Mail that was already here before Files existed: it is added a few hundred messages at a time, at each reading of the mailbox. With a lot of mail this takes a while.
- Only "the mail" is listed: Inbox, Sent, All mail and your folders. Files of messages in the Trash or Spam are not shown.
- Mail keeps the headers of your newest messages only. Older mail that was never brought into Mail (see Organising mail) has no files here until it is.
When something does not work
- "The file could not be fetched from the mail server" — the message was deleted or moved on the mail server, or the mail server cannot be reached right now. Try again later, or open the message in your provider's own webmail.
- A picture shows an icon instead of a preview — the preview could not be made (a very large picture, a format the server cannot read, such as HEIC, or the server did not answer). Click it to open the file itself.
- A file I know is there is missing — the mailbox may still be adding older mail; wait for a few readings. Check the filters: a kind, Inbox / Sent or a person may still be chosen.
- There is no "Files" in the rail — an administrator switched the function off for the whole site.
Related pages
- Getting to know Mail — what a mail server is, and what Stjobno keeps.
- The Inbox and folders — the sync with the mail server.
- Settings — the archive of letters in the gear.