Connect Fastmail to MailMigrata
This guide explains how MailMigrata copies mail from Fastmail to Gmail, Microsoft 365, or another IMAP host of your choice. You will walk through signing in with MailMigrata so that the connection succeeds on the first attempt. Fastmail is a first-class IMAP citizen, and you should use an app password rather than the password for your account. The IMAP host is imap.fastmail.com, and MailMigrata does not speak JMAP because plain IMAP is enough for this job. Fastmail folders are real folders rather than Gmail labels, so they map to Microsoft 365 cleanly, unlike Gmail labels.
Tables live in How to migrate your Fastmail email account, and later wizard steps are in email migration made simple.
What You’ll Learn
- This page shows you how to create a Fastmail app password that MailMigrata can use safely for the migration.
- You will learn the IMAP host and port that the connection needs, along with the reason both values matter.
- The page also shows how to link MailMigrata to Fastmail and verify the folder tree before you start the copy.
- The guide explains what is and is not a separate IMAP account, so aliases do not confuse the setup.
- The final section lists fixes for
LOGIN failedand for the wrong host, so you can recover the connection yourself.
What you need
- You need your Fastmail username, which is usually the email address that receives the mail you want to move.
- You must also create an app password in Privacy & Security, because the account password will not work.
- IMAP must be allowed on the account, and Fastmail turns it on by default, so most people change nothing.
The authentication method pairs IMAP with an app password, and that pair is what the wizard expects at sign-in. The endpoint is imap.fastmail.com:993, so the connection uses port 993 on the IMAP host for a secure session.
Connect in MailMigrata
- In Fastmail, you create a new app password for Mail in Privacy & Security and name that entry MailMigrata.
- You open MailMigrata and choose Fastmail, or you select generic IMAP and enter
imap.fastmail.comin the host field. - You paste the app password, not the account password, into the password field because only the app password works.
- You validate the connection and confirm that Inbox, Sent, Archive, and custom folders appear, because masked mail still lands here.
An alias is not an extra IMAP account, so you do not need to register it separately in the wizard. ContactMigrata copies your contacts over CardDAV, and CalendarMigrata maps your calendar over CalDAV.
What MailMigrata copies
MailMigrata copies the IMAP messages, folders, and attachments that the destination accepts, and it skips anything the destination refuses. Your Fastmail account keeps working throughout, because MailMigrata never deletes the source unless you choose deletion later. You should not paste app.fastmail.com as the IMAP host, because that address serves the web app, not IMAP.
Common problems
A LOGIN failed error means you entered the account password, so you create an app password and retry the connection. See IMAP login failed.
If HTML or a strange error appears instead of a mailbox, the host is wrong, so you should use imap.fastmail.com.
Wrap-up
When the folder tree looks right, you choose a destination and start the migration, because the tree shows what moves. Related guides are email migration made simple and common mailbox migrations, which you can read next.