Documentation

Help for MailMigrata and the whole suite

Migrate Fastmail to Gmail

This article explains how to copy a Fastmail mailbox to Gmail with MailMigrata. Fastmail uses real folders; Gmail shows each one as a label with the same name.


Limitations

  • MailMigrata copies IMAP email only: messages, folders, and attachments the destination accepts. Calendars, contacts, and files need CalendarMigrata, ContactMigrata, and FileMigrata.
  • MailMigrata does not delete anything from the source unless you choose to.
  • Each job copies one mailbox. Do not start a second job into the same destination folders; it creates duplicates. Resume the first job instead.
  • MailMigrata uses IMAP at imap.fastmail.com, not Fastmail's JMAP protocol.

Prerequisites

  • Your Fastmail username (usually the full email address) and an app password from Privacy & Security.
  • A Gmail address with IMAP on, and a Gmail app password or Connect with Google.

Folder mapping

  • Inbox → Gmail Inbox.
  • Archive → a Gmail label.
  • Custom folders → Gmail labels.
  • Do not select Gmail All Mail; it duplicates every message.

Steps

  1. Connect Fastmail. See Connect Fastmail.
  2. Connect Gmail. See Connect Gmail.
  3. In MailMigrata, start a new migration, validate both accounts, and select folders. Do not select All Mail.
  4. Optional: set a date range.
  5. Start the job. You can keep using mail during the copy.
  6. If you keep your domain, copy first, then change MX. The job does not change DNS.
  7. Check Inbox, the Archive label, and one custom label in Gmail.

Troubleshooting

  • Fastmail: LOGIN failed: You used the account password. Create an app password for Mail.
  • Gmail IMAP error: IMAP is off. Turn it on under Settings → Forwarding and POP/IMAP, wait a minute, and validate again.

Related articles