Gmail Email Migration Tool: How to Move Your Mail
In this article
Google does not provide a standalone "email migration tool" for Gmail in the sense of a single button that copies everything from another provider. What you actually use depends on which direction you are moving. If you are moving mail into Gmail from another IMAP account, Gmail's built-in import tool (often called Gmailify or the Accounts and Import importer) is the official route. If you are moving mail out of Gmail to another provider, the practical route is IMAP sync with a desktop client such as Thunderbird, or the export option offered by your destination provider. This guide covers both directions, with the exact menus and the checks that stop a migration from silently dropping folders.
What You'll Need
- A Google Account with 2-Step Verification enabled (required for the importer and for app passwords).
- The email address and password of the source account, plus its IMAP server name and port if it is not a major provider.
- An app password for the source account if it uses two-factor authentication, because the importer cannot complete an interactive 2FA prompt.
- Enough free storage in the destination Google Account. Gmail storage is shared with Google Drive and Google Photos, so check the quota before starting.
- For exporting: a desktop computer with an email client that supports IMAP, and a local drive with room for the mailbox.
Step-by-Step
Moving mail into Gmail from another provider
- Sign in to the Gmail account that will receive the mail on a desktop browser. The importer is not available in the Gmail mobile app.
- Open Settings (the gear icon), then choose See all settings. Menu labels can differ slightly by version, device and region, so if a label is not exactly as written here, look for the closest match.
- Go to the Accounts and Import tab and find Import mail and contacts. Select Import mail and contacts.
- Enter the source email address in the pop-up window and select Continue. Enter the source account password. If the source uses 2FA, generate an app password there first and paste that instead.
- Choose the import options. Leave Import mail ticked. Decide whether you also want contacts and new mail for the next 30 days. The 30-day forwarding is useful during a cutover; it is not a permanent forward.
- Select Start import. Gmail shows a progress panel. Large mailboxes can take hours to days, and the panel can be closed; the import continues in the background.
- When it finishes, open the source folders in Gmail's left sidebar. Imported mail is labelled with the source address so you can find it. Verify a few messages, especially ones with attachments and ones from the oldest folders.
Moving mail out of Gmail to another provider
- In the destination provider's settings, look for an import or migration option. Many providers offer a guided Gmail import; use that first because it handles labels and folder mapping for you.
- If the destination has no importer, install a desktop client such as Thunderbird on a computer. Add the Gmail account using IMAP, not POP, so folders are preserved.
- For Gmail, enable IMAP in Gmail settings if it is off, and sign in with an app password rather than your normal password when 2FA is on.
- Add the destination account to the same client as a second IMAP account.
- Create matching folders in the destination, then select messages in a Gmail folder and copy them to the matching destination folder. Use copy rather than move so nothing is lost if the sync fails.
- Let the client finish syncing before you close it. Check the destination webmail to confirm the messages arrived, then repeat for each folder.
Common Mistakes
- Using POP instead of IMAP. POP downloads only the inbox by default and can mark messages as read or remove them from the server, which breaks the migration.
- Starting an import without checking storage. A full Google Account rejects new mail, and the import stalls without an obvious error.
- Entering a normal password for a 2FA-protected source account. The importer fails at sign-in; generate an app password first.
- Assuming the 30-day forwarding is permanent. It expires, and new mail stops arriving at the old address.
- Closing the browser and assuming the import stopped. It runs server-side; check the progress panel later rather than restarting it.
Tips
- Run the migration over a wired connection on a desktop for the export route; Wi-Fi drops are the most common cause of partial syncs.
- Do a small test folder first. If labels, dates and attachments survive, the rest will too.
- Keep the source account active until you have verified the destination, and only then cancel it.
- Label imported mail clearly so you can search it later with a single query.
Troubleshooting
If the Gmail importer reports a connection error, confirm the source provider allows IMAP access and that the server name and port are correct. Some providers require an app password even without 2FA. If the import appears stuck at a low percentage for more than a day, check the Google Account storage page; a full quota is the usual cause. If messages arrive without folders, the source may not expose folders over IMAP, in which case everything lands in the inbox with labels. If the export route leaves gaps, re-run the copy for the affected folder rather than deleting anything; a second pass fills in what the first missed. If sign-in keeps failing, sign out of the client completely and sign in again before changing any settings.
Frequently Asked Questions
Does Gmail have a built-in tool to import from another email account?
Yes. The Import mail and contacts feature in Gmail settings on the web imports mail and contacts from another IMAP account and can forward new mail for 30 days.
Can I migrate Gmail from my phone?
No. The importer is only in the desktop web version of Gmail. The mobile app has no import option.
Will labels and folders be preserved?
Imported mail is labelled with the source address, and source folders generally become labels. Exact mapping depends on what the source provider exposes over IMAP.
How long does a Gmail migration take?
It depends on mailbox size and the source server. Small accounts finish in minutes; very large ones can take days, and the import continues after you close the browser.
Is the 30-day forwarding permanent?
No. It stops after 30 days. Set up forwarding separately if you need it long term.
Do I need an app password?
Only if the source account uses two-factor authentication. In that case the importer cannot complete a 2FA prompt, so generate an app password at the source provider.