Skip to content

Docs / Mail

Moving your mail to Prodmail

Bring your old mail and contacts into Prodmail from Gmail, Outlook, Apple Mail or any other provider, using MBOX and EML files.

View as Markdown

You can bring your old mail with you. Prodmail reads two kinds of file:

  • MBOX, one file holding a whole mailbox. This is what Gmail gives you.
  • EML, one file per message.

Getting those files out of your old provider is the fiddly part, and it differs for each. Putting them into Prodmail is the same every time.

Step 1: get your mail out#

Gmail#

Google hands over your mail through a service called Takeout.

  1. Go to takeout.google.com.
  2. Click Deselect all, then scroll down and tick Mail only.
  3. If you do not want everything, click "All Mail data included" and pick the labels you want.
  4. Click Next step, leave the settings as they are, and click Create export.
  5. Wait for the email from Google with the download link. For a big mailbox this can take hours, sometimes a day.
  6. Download it and unzip it. Inside, under Takeout and then Mail, is a file ending in .mbox. That is the one you need.

A large mailbox is split into several downloads. Unzip them all; you can import the .mbox files one after another.

Outlook and Hotmail#

This is the awkward one. Outlook exports your mail as a .pst file, which is Microsoft's own format, and Prodmail cannot read it. Nothing else much can either.

The dependable way round it is the free mail app Thunderbird:

  1. Install Thunderbird and add your Outlook account to it. Let it finish downloading your mail, which takes a while.
  2. In Thunderbird, install the add-on ImportExportTools NG.
  3. Right-click a folder, choose the add-on's export menu, and export the folder as MBOX.

Do this for each folder you want to keep.

Apple Mail#

  1. In Mail on a Mac, select a mailbox.
  2. Choose Mailbox, then Export Mailbox… and pick a place to save it.

Apple saves it as something that looks like a file called Inbox.mbox but is really a folder. Right-click it, choose Show Package Contents, and inside is the actual file, named just mbox. That inner file is the one to import. Drag it somewhere easy to find first, like the desktop.

If your mail lives on iCloud, this works for iCloud mail too, since Mail on the Mac holds a copy.

Anywhere else#

If the provider has an export, look for MBOX. If it does not, the Thunderbird route above works with almost any mail account, because Thunderbird can connect to nearly all of them.

For a handful of messages, most mail apps let you save one as a .eml file or drag it to the desktop. Those import as they are.

Step 2: bring it in#

  1. In Prodmail, open Settings, then Import & export.
  2. Find Import mail.
  3. Choose the mailbox and the folder the messages should go into. If you want them kept apart from your new mail, make a folder first, called something like "Old Gmail".
  4. Choose your mailbox files or .eml files. You can pick several. A mailbox file does not have to end in .mbox; Prodmail can tell what it is.
  5. Click Import mail and leave the page open until it finishes.

It counts as it goes. A mailbox of tens of thousands of messages takes a while, because every message is encrypted on its way in.

What comes across#

  • Every message, with its original date, sender and recipients.
  • Attachments.
  • Conversations are put back together where the messages still say what they were replies to.

What does not#

It is better to know these before you start than to find out after.

  • Folders and labels. Everything in a file lands in the one folder you chose. If your folders matter to you, export them one at a time and import each into its own folder here.
  • Read and unread. Everything arrives marked as read.
  • Stars and flags.
  • Messages over 25 MB. The import stops when it meets one. Take it out of the file, or import the rest as separate files.

Your filters do not run on imported mail, and you are not notified about any of it. Ten years of mail arriving at once would otherwise be quite a morning.

If it stops#

Choose the same files and run it again. Messages already imported are recognised and skipped, so you will not get duplicates. The count shows "already imported" going up until it reaches the place it stopped.

Contacts#

On the same page, Import contacts takes:

  • a Google Contacts CSV export,
  • an Outlook CSV export, or
  • a vCard file (.vcf), which is what Apple Contacts exports.

Names, email addresses, phone numbers, company, job title and notes come across. Photos and postal addresses do not. If someone is already in your address book, the import leaves them as they are.

CSV files need their column headings in English. If yours were exported with the provider's language set to something else, switch it to English and export again.

Your calendar#

That has its own guide: Moving your calendar to Prodmail.

After the move#

Your old address will keep receiving mail for a while. Most providers let you forward it: set that up at the old provider, pointing at your Prodmail address, and leave it running for a few months while you tell people the new one.

Something here wrong or missing? Write to help@prodmail.io.