Improvements and updates

Import from another mail program

Bring the folders and letters of Thunderbird, The Bat!, Outlook, Apple Mail, eM Client or any other program into Mail — from its files, or only the folders from a screenshot.

Updated 2026-11-21

If you used a mail program on your computer — Thunderbird, The Bat!, Outlook, Apple Mail, eM Client … — your folders and old letters may live only on that computer. That is how it is when the program collected the mail over POP3: it downloaded each letter and (usually) deleted it from the mail server, and the folders you made existed only in the program. The mail server never knew them, so Mail cannot see them either.

The import brings them over. There are two ways:

From files From a screenshot
What comes The folders and the letters, with their dates and read / starred marks Only the folders (their names and nesting)
What you give The program's mail files: mbox, eml, a zip, or its whole mail folder A picture of the program's folder list
Where the letters go Into the chosen mailbox's own mail server —
Needs — Mail's AI (it reads the picture)

Where it is

Mail → the gear (Mail settings) → Import mail. The section is there once you have at least one mailbox in Mail. An administrator can switch each way off for everybody (Administration → Settings → Mail → "Import from another mail program" and "Folders from a screenshot").

From files — step by step

  1. Get the files out of your old program. Each program does it differently — see its guide: Thunderbird, The Bat!, Outlook, Apple Mail, eM Client, other programs.
  2. In Import mail → From files press Choose files (mbox, eml or zip files) or Choose a folder (the program's whole mail folder, with its sub-folders), or drop them onto the box.
  3. The files are sent in parts (a broken connection goes on from where it stopped). Keep the page open until "Sending the files…" is over.
  4. Mail looks through them and shows the preview:
    • Into which mailbox — the mailbox whose mail server receives the letters (the main one is chosen first).
    • Folders — every folder found, with how many letters it holds. All are ticked; untick what you do not want. A folder unticked takes the folders inside it along (tick them again one by one if you want only those). Click a name to change it.
    • Files left out — files that hold no mail Mail can read (an Outlook .pst, The Bat!'s own base …), each with what to do instead.
    • Sorting rules for new mail — a few rules the letters suggest (see below). None is ticked.
  5. Press Import N letters. The folders are made at once; the letters go up to the mail server in the background. You may close the page — when it is done you get a notice (and an e-mail, unless you switched that off in Profile → Notifications).

What happens to your folders

  • Each ticked folder is made in Mail and on the mailbox's mail server, with the same name and nesting, and Mail keeps it in step with the mail server (see Synchronization with the mail server). If that mailbox did not keep its folders in step yet, this is switched on for the imported folders only — the other folders on the mail server stay as they were.
  • Mail folders go 3 levels deep. A deeper folder is made at the 3rd level with its path in the name ("Clients / Acme").
  • A folder already in Mail with the same name in the same place is reused — the letters go into it.
  • Your old program's Inbox, Sent, Trash, Drafts, Spam, Archive … come as "Inbox (imported)", "Sent (imported)" and so on: a mail server keeps those names for its own folders, and your old letters should not suddenly appear among the new ones. Rename them in the preview if you like.
  • Letters whose folder is unknown (single .eml files) go into "Imported mail".

What happens to the letters

  • They go to your own mail server — Mail keeps no copy (see What Mail keeps). So they are also in every other program and phone that reads that mailbox.
  • Each keeps its own date, and its marks: read / unread, answered, starred — as the old program wrote them. Letters with no marks at all (most .eml files) come read.
  • Letters your old program had deleted but not yet thrown out of its files (Thunderbird keeps them until "Compact") are left out.
  • A letter bigger than 30 MB is left out (mail servers refuse such letters).
  • A letter already in that folder (the same Message-ID) is left out — importing the same files twice puts nothing in twice.
  • Mail shows them as soon as it reads the mailbox again: the newest 100 of each folder first, older ones while you scroll down (as with any folder from the mail server).

Gmail's daily limit

Gmail takes about 500 MB of letters a day this way. A bigger import into a Gmail mailbox puts in a day's worth, then waits until the next day by itself ("The import waits for tomorrow") and goes on — nothing to do. Other mail servers have no such pause.

When it stops

If the mail server refuses ten letters in a row (the mailbox is full, the password changed …), the import stops and says why. Fix the cause and press Continue — it goes on from where it stopped. Stop the import ends it: what is already on the mail server stays there; the files you sent are deleted.

Limits

  • At most 4 GB in one import (import the rest in a second one), and at most 2 000 separate files — more (a folder of thousands of .eml files) must be put into one zip first.
  • One import at a time.
  • The files you send are kept on the site only while the import runs, and deleted when it ends — or after 7 days if it never started.

Sorting rules offered

While looking through the letters, Mail notices senders whose mail lies (almost) all in one folder — "everything from @bank.ee is in Bank". It offers such a rule: "New mail from @bank.ee → into Bank", with how many of your letters match it. At most 8 are offered, the strongest first.

None is ticked — tick the ones you want. A ticked rule is made on: new mail from that sender goes into that folder from now on. You find and change them later in Mail settings → Rules for mail. A rule whose folder you unticked cannot be ticked.

From a screenshot — only the folders

When you only want the same folder structure — or the files are hard to get — take a picture of the folder list in your old program and let the AI read it. See Folders from a screenshot.

Without uploading anything

Every program here can also move its folders to the mail server itself: add the same mailbox to the old program once more, this time over IMAP, and drag the local folders onto it. The program puts them on the mail server; Mail then sees them through Synchronization with the mail server. Each program's guide shows this way too. It suits a very large archive or a program whose files Mail cannot read (Outlook's .pst).

If something does not work

  • "There is nothing to send in what you chose" — the files were all empty or the program's own index / settings files. Choose the mail files (see your program's guide).
  • A file was left out — the preview says why and links the way round it.
  • The letters do not appear yet — Mail shows them when it reads the mailbox again (within a minute or two; open the folder or press refresh). The newest 100 of a big folder come first; scroll for the older ones.
  • "The mail server refused … letters in a row" — read the reason: a full mailbox needs room (delete or buy more), a changed password needs fixing in Mail settings → Mailboxes. Then Continue.