Import your mail

Fastmail can import your email from any other provider that supports IMAP.

Email import tool

To import your mail from another provider:

  1. Open the Settings → Import & Setup screen.
  2. If you see your other email provider listed underneath "Import Mail, Calendars, and Contacts", click on its icon. If not, click IMAP.
  3. Next, you'll be asked to enter your email address and password for your other email account.
  4. On the next screen, choose the options that suit you. You can also set up fetching and sending from your other account on this screen so you can continue to receive new mail from your other account, and send from your other address.
  5. Click Do it.

Imports can take a long time, especially if you have a lot of email. It's not uncommon for imports to take up to 24 hours. You can check the status of your import at any time by going to the Settings → Import & Setup screen.

Once your mail has finished importing, we'll email you with a summary of what happened. Please be patient and do not try importing from the same account again whilst the first one is still running, otherwise you'll get 2 copies of every message in your account. You can continue to use your account as normal while your email is being imported.

Sometimes, there's an issue and your mail can't be successfully imported. In this case, you'll receive an email letting you know why. The most common reasons for this are:

  • Buggy IMAP servers – we've seen IMAP servers that just "crash" and close the connection when trying to retrieve some emails. When this happens, it's best to run the migration tool again.
  • Hidden rate limits – many services have limits that they do not publish. Normally this will just slow down the import so it takes longer to complete, but sometimes the remote server will kill the connection entirely, and the import will fail. If this happens you can try importing one folder at a time, and waiting some time between each one to allow any hidden limit to reset.

Another common issue you might see is "Invalid login credentials". Usually, all you need to do is enable IMAP access on your email account. You may also need to create an app-specific password for Fastmail on your other account. The steps for this vary, so you may need to contact your email provider for step-by-step instructions.

If you need to import mail from another provider not listed, you'll need to get their IMAP server information from them directly.

The easiest way to migrate from common providers is to click their icon and follow the prompts. If you would like to do this manually, though, server details for a few common providers are listed below.

Cancel import

In the Settings → Import & Setup screen, you can cancel an import by clicking on the red Stop button on the right-hand side of your screen. You'll then see a dialog box asking you to confirm the import cancellation.

Import report

Once an import has been completed, you can view the details of the migration by clicking on the View report link. This report will show:

  • The number of folders found
  • The names of each folder
  • The number of messages copied over from each folder.

Gmail server details

If you're migrating from Gmail, the easiest and most secure way to do this is to click on the Google icon and sign in with OAuth.

If you prefer to migrate using IMAP manually, here are the server details you need:

IMAP server imap.gmail.com
Username Your Gmail email address, including the domain
Password Your Gmail password.
If you have 2FA enabled for Gmail, you will need to set up an app password: don't use your login password. (How to create a Gmail app password)
Use SSL Yes
Remote server prefix (leave blank)

Be aware that each tag in Gmail is created as a folder in Fastmail. If you have an email with more than one tag, you'll end up with more than one copy of that email: one in each resulting folder. This means that you'll be using up more storage quota in your Fastmail account than at Gmail.

If Google blocks the import

Even with a correct username and password, Google will sometimes block us from connecting to your Gmail account, since we're not using the same network that you normally log in from. If you enter your correct login details but the import fails, this probably means that you need to enable IMAP access. You don't need to do this if you use the direct option by clicking Google in the main section of Settings → Import & Setup.

Yahoo server details

If you're migrating from Yahoo, the easiest way to do this is to click on the Yahoo icon in Settings → Import & Setup and sign in directly.

If you prefer to migrate your emails manually with IMAP, here are the server details you need:

IMAP server imap.mail.yahoo.com
Username Your Yahoo email address, including the domain
Password Your Yahoo password
Use SSL Yes
Remote server prefix (leave blank)

Outlook.com server details

If you're migrating from Outlook.com, the easiest way to do this is to click on the Outlook icon in Settings → Import & Setup and sign in directly.

If you prefer to migrate your emails manually with IMAP, here are the server details you need:

IMAP server imap-mail.outlook.com
Username Your Outlook.com email address, including the domain
Password Your Outlook.com password
Use SSL Yes
Remote server prefix (leave blank)

iCloud server details

If you're migrating from iCloud, the easiest way to do this is to click on the iCloud icon in Settings → Import & Setup and sign in directly.

If you prefer to migrate your emails manually with IMAP, here are the server details you need:

IMAP server imap.mail.me.com
Username Your iCloud email address, without the domain part (for example, emilyparker, not emilyparker@icloud.com)
Password Your iCloud app password
Use SSL Yes
Remote server prefix (leave blank)

Import MBOX or EML files

If you are migrating from a provider that does not support IMAP access, such as Protonmail or HEY, you may find that the only way to keep your email is by exporting your messages in MBOX or EML format.

To import these messages:

  1. Import the files into a mail client like Thunderbird.
  2. Configure your Fastmail account on the same mail client.
  3. Drag and drop the emails from the local folders into Fastmail folders within the mail client.
Was this article helpful?
8 out of 17 found this helpful