Migrate Fastmail to Gmail
This guide shows how to copy a Fastmail mailbox into Gmail with MailMigrata. Fastmail keeps mail inside real folders, and Gmail shows each of those folders as a label instead of a folder. That arrangement is cleaner than the Yahoo route in practice, because MailMigrata carries the Fastmail folder name across as the label name. Your Fastmail mailbox stays in place after the copy, because MailMigrata deletes nothing unless you later choose deletion.
What You’ll Learn
- You will learn which credentials each mailbox needs, because Fastmail and Gmail both expect an app password rather than the account password.
- This page also explains how Fastmail folders appear inside Gmail, because the label layout decides where each message lands.
- You will see how to connect both accounts and run the job, because a failed connection stops the copy early.
- One section records what does not come across, and that list keeps you from waiting on data the job never carries.
- The last section shows how to avoid duplicate copies in All Mail, because a second run onto those labels copies every message twice.
What you need
You need your Fastmail username, which is usually the full email address, plus an app password that Fastmail creates under Privacy & Security. MailMigrata talks IMAP at imap.fastmail.com, and the tool never uses the JMAP protocol that Fastmail also offers. You also need a Gmail address with IMAP on, plus a Gmail app password or the Connect with Google option. Calendar and contacts are not part of this mailbox job, because MailMigrata copies mail only. Use CalendarMigrata for the calendar data and ContactMigrata for the contact data, because each product owns its own store.
How folders map
Inbox goes to Inbox, and that direct match keeps the most important messages in the first folder you check. Archive becomes a label, so Gmail shows archived Fastmail mail in the label list rather than in a separate folder tree. Every custom Fastmail folder maps to a label too, because Gmail offers no folder type that matches a Fastmail custom folder. Skip All Mail on the Gmail side, because copying it duplicates every message Gmail already holds under its labels.
Connect and migrate
- First, connect Fastmail through Connect Fastmail, because that page collects the username and app password the copy needs.
- Second, connect Gmail through Connect Gmail, because the destination needs its own authenticated session before the job starts.
- Third, start a new migration inside MailMigrata, validate both accounts, and pick the folders you want without selecting All Mail.
- Optionally, set a date range so the job copies only the years you name, because a full copy takes longer.
- Finally, start the job and keep using mail during the copy (zero downtime), because the source stays live.
- If the address stays on Fastmail until MX moves, read same domain first, because that guide explains the order.
Do not start a second job onto the same Gmail labels unless you want duplicates, because the first job still owns those targets. Resume that earlier job instead, because a resumed run continues from the progress that the original run already recorded.
Common problems
A LOGIN failure on Fastmail means the connection used the account password, so create an app password for Mail instead. A Gmail IMAP error means that IMAP is switched off, so open Settings and then the Forwarding and POP/IMAP tab. Enable IMAP on that tab, wait a minute, and verify the connection again, because Gmail needs time to apply the change. If you keep @yourdomain.com on Fastmail, copy the mail first and then change the MX records, because the mailbox job never moves DNS.
Wrap-up
Spot-check the Inbox, the Archive label and one custom label in Gmail, because a quick look catches a missing folder. Messages and folder names should appear as labels, and that outcome confirms the mapping worked. The common mailbox migrations page lists more source and destination pairs, and email migration made simple explains the wider method.