Gmail to IMAP Migration

Leaving Google? This step-by-step tutorial explains how to easily migrate from Gmail to IMAP. Works with all Gmail and Google Workspace accounts!

  • Automatic label conversion Your Gmail labels are converted to IMAP folders
  • 100% data integrity All email data remains unchanged and accurate
  • Zero downtime No cutover or transition time
  • Fully automated MailJerry handles everything
Easy email migration with MailJerry

Summary:

Follow these steps to migrate your mailbox data from Gmail to IMAP:

  1. Set up the migration by connecting your Gmail and IMAP accounts.
  2. Verify your settings and preview the migration.
  3. Start your migration and wait for it to finish.

The Result:
After your migration has finished, your IMAP account will contain the same email data as your Gmail account. If you wish to keep your account synced, simply enable the automatic delta migration.

Checklist: What You'll Need

Make sure you have everything ready before starting the migration.

Before jumping into the migration, let's make sure that you have all necessary data at hand!
This is what you need to migrate your emails from Gmail to IMAP:

What You Need for the Migration:

  • Your Gmail credentials (username + password)
  • Your IMAP credentials (username + password)
  • The address of your IMAP mail server
  • MailJerry — your Gmail to IMAP migration tool

Don't know your IMAP server address?

Have a look at our list of email settings to find the correct address. If your hosting company is not included in the list, simply ask your provider for the IMAP mail server address!

Step 01: Set Up the Migration

Now let’s start the setup of your IMAP migration!

In this step, we'll connect your IMAP and Gmail account so that you can migrate your email data directly between providers, making it unnecessary to down- and upload your mailbox data 😉.

Connect Your Gmail Account:

1

Start MailJerry and click on New Migration.

2

In the section called Existing Address, select Gmail as account type.

3

Enter your Gmail / Google Workspace address in the field username and click on Connect with Google Account.

4

A pop up opens: Follow the steps to sign-in with your Google account.

5

When asked for permissions, grant the requested permissions by clicking on Continue.

Ignore Google Bandwidth Limits:

Are you wondering what the option Ignore Google Bandwidth Limits does? To find out if it's a good idea to enable it, have a look at our migration tips.

Connect Your IMAP Account:

1

Now head over to the section for New Address. Here, select IMAP as account type.

2

Enter your username (usually your email address) and your password in the corresponding fields.

3

In the field mailserver, enter your IMAP mail server address.

You now added both accounts. In the next step, we'll verify your settings and preview the Gmail to IMAP migration.

Step 02: Preview Your Gmail to IMAP Migration

Verify your settings and preview the planned migration before starting.

1

Click on Check Settings and wait until the check has finished. The software will connect with both accounts and gather all necessary data so you can safely preview your planned migration.

2

After both mailboxes were checked successfully, you'll see a preview of the planned migration. Here, you can verify which data is included in the migration and optionally change the migration strategy for multi-label messages (see deep dive).

If your Gmail mailbox is very large, it might take some time to gather all necessary information. Please be patient and wait until you're forwarded to the preview page! To learn more about label to folder conversion, check out our deep dive. For small and medium sized mailboxes (up to 2 GB), it's usually recommended to stick with the default settings.

Step 03: Migrate Your Data from Gmail to IMAP

Now let's start the Gmail to IMAP migration!

1

On the preview page, click on Start Your Migration. MailJerry will migrate all Gmail messages to your new IMAP account and converts your Gmail labels into IMAP folders.

2

Wait until the migration is finished and you're done!

While the migration is running, you can use your email accounts to receive or send emails. All changes in your Gmail account can be synced after the initial migration by running a delta migration.

Please avoid large structural changes in your mailbox while the migration is running (e.g. cleanup, moving lots of messages and/or restructuring labels)!

The service is a piece of art. It's just perfect and works so well. Of course, I purchased the yearly; it's a bargain and much appreciated.
I wish I had found this tool years ago. Thanks again!
MailJerry Customer

Bonus: MailJerry's Tips to Successfully Move Away from Gmail

Tips for bandwidth limits, migration cache, and auto sync.

Tip 01: How to Deal With Gmail Bandwidth Limitations

Google restricts the daily amount of data you can upload to or download from Gmail. These bandwidth limitations usually don't play a big part in everyday email usage, but can slow down progress when migrating data from or to Gmail.

For your Gmail to IMAP migration, the daily Gmail download limit is the relevant key figure.
It currently lies at max. 2,500 MB of email data per day.

As soon as you've hit this limit, the migration will stall down and progress will be very, very slow until the limit is reset 24 hours later. Even though there is very little you can do against this, here are two tips to facilitate the migration of large mailboxes:

Pro Tip 01: Plan Enough Time

If you migrate a mailbox of multiple GBs, plan enough time for the transition. Set up and start your migration and simply wait until the migration has finished. It's absolutely no problem if the migration runs several hours or even multiple days. MailJerry will migrate your data completely and reliably!

Pro Tip 02: Reduce Additional Bandwidth Activity

While your migration is running, make sure that no other tools or software (e.g. email clients, backup tools) are active. Every activity on your mailbox will reduce the available bandwidth and slow down progress even more. So best to disable everything before starting the migration!

Experimental: Ignore Gmail Bandwidth Limits

When connecting with your Gmail account, you see the option Ignore Google Bandwidth Limits. By enabling this option, MailJerry will ignore Gmail's bandwidth limitations and try to migrate your Gmail data to IMAP as quickly as possible.

Pro tip: Optionally ignore Google bandwidth limits (experimental)

But be warned: By doing so, be prepared that your migration will very likely break mid-process. If this is the case, you need to start a new migration, this time not enabling the ignore bandwidth limits option. The mailbox check will take longer this time, as MailJerry has to identify which messages were already migrated, but you won't lose the progress you made so far.

Our recommendation:

Only enable this option if you need to migrate a very large mailbox and are under time-constraints. In all other scenarios, it's best to ignore the bandwidth limits option and grant your migration the time necessary to complete.

Tip 02: Don't Enable the Migration Cache

We developed the migration cache to speed up migrations, and especially delta syncs, and usually, it's a good idea to enable it. However, when migrating from Gmail to IMAP, don't enable the cache! Because of the special architecture Gmail created for its labels, the migration cache will create duplicates and unnecessarily bloat your new IMAP inbox.

Gmail to IMAP migration: Don't enable the migration cache

Tip 03: Automatically Sync Changes

After the migration, it's very likely that you'll still receive emails in your Gmail account. To sync those changes to your new IMAP account, simply enable the auto sync. The auto sync performs a delta migration every three hours and syncs your Gmail account with your new IMAP mailbox.

1

In MailJerry, open the Overview and click on your migration.

2

Scroll down to Settings and enable Synchronize emails for 10 Days.

MailJerry will now check your Gmail account for changes every three hours and automatically migrate those over to IMAP. If you'd like to sync your account right away, simply click on the Sync Now button.

How to permanently sync Gmail with IMAP:

To permanently sync your Gmail account with IMAP, click on Backup Mode and choose between a daily, weekly, or monthly interval to regularly perform a delta migration.

Deep Dive:
Efficiently Convert Multi-Label Messages

Learn how to handle Gmail labels when migrating them to IMAP folders.

As a Gmail / Google Workspace user, you already know that Gmail works with labels. So when migrating to IMAP, those labels need to be converted to IMAP folders. The label to folder conversion is a straightforward process for messages with one label. For messages with multiple labels, however, you need to decide how to migrate those additional labels. To do so, you have two options:

Option A: Migrate Duplicates

Creates a 1:1 clone but uses more storage.

If a message contains two or more labels, a folder is created for the first label and the original message is moved into this folder. For all subsequent labels, a copy of the message is created and moved into the respective folder(s).

Advantages:

  • Mailbox 'feels' the same as old mailbox
  • Creates 1:1 clone of your mailbox
  • A message can be found in every folder you expect it to be

Disadvantages:

  • IMAP inbox contains more messages
  • Requires more storage space
  • Slower migration

How to Migrate Duplicates:

Before starting your migration, open the Advanced Settings on the migration preview page. Here, enable the option "Migrate Duplicates".

Enable the option "Migrate duplicates from the existing address"

To learn more about Gmail label conversion when performing an email migration, have a look at our tutorial on Gmail label migration.

Option B: Skip Duplicates (Default Behaviour)

Smaller mailbox but not a 1:1 clone.

When skipping duplicates, a folder will be created for the first label that was assigned to the message. The original email is moved into this folder and all subsequent labels are skipped.

Advantages:

  • Both mailboxes have the same size and message count
  • Less storage required
  • Faster migration

Disadvantages:

  • Not a 1:1 clone of your Gmail mailbox
  • Mailbox might 'feel incomplete', since every message is only stored in one folder

How to Skip Duplicates:

Skipping duplicates is MailJerry's default behaviour, so you don't need to change any settings.

Frequent Questions:

Is it really risk-free to migrate from Gmail to IMAP using MailJerry?

Yes! MailJerry is technically unable to modify any data in your source Gmail account. This means that your existing Gmail emails and labels remain completely intact — no messages are moved, altered, or deleted from Google. Our software simply creates a copy of your Gmail data in your new IMAP mailbox, leaving the original data unchanged.

Can I use my mailbox during the migration?

Yes. You can use both mailboxes to receive, read and send emails while the migration is running. Please don't perform large structural changes to the source or target mailbox while your migration is running (e.g. mailbox cleanup). Also disable any other tools that might interfere with your mailboxes (e.g. backup tools).

Does MailJerry migrate Gmail labels to my new provider?

Yes! MailJerry automatically converts Gmail labels into folders during the migration, so they are compatible with your new provider's folder structure.

My mailbox is very large and progress is slow. What can I do?

Google applies bandwidth limits to your mailbox after a certain amount of data was migrated. So when migrating a large mailbox, progress might slow down after a certain point. Google resets these limits every 24h and if you're not in a hurry, it's best to simply wait until the migration has finished.

If you're, however, in a hurry, you can stop the migration and start it again, this time enabling the option "Ignore Bandwidth Limits". By doing so, MailJerry will ignore Google's limits and try to migrate your data as fast as possible.

Of course, you won't lose the progress you made so far, as MailJerry will skip all emails that were already migrated.

After enabling "ignore bandwidth limits", my migration failed. What now?

When ignoring Google's bandwidth limits, Google sometimes disconnects your account and your migration finishes with errors. If this happens, start the migration again, this time without enabling the "ignore bandwidth" option.

When restarting the migration, the mailbox check will run a little longer, since MailJerry has to identify which messages were already migrated. Please be patient and wait until the check has finished. As soon as it's done, you can start your migration again.

MailJerry did not migrate all emails, but shows lots of skipped messages. Why is that?

When migrating emails with custom Gmail labels to another provider (including Gmail), skipped messages can occur. But there's no need to worry: As long as MailJerry does not show failed messages, you can rest assured that all emails were migrated.

The skipped messages are shown because of how Google handles Gmail labels, which is different from all other email providers that work with folders. Due to this Gmail characteristic, MailJerry skips emails to prevent duplicates.

If you wish to learn more, have a look at this detailed blog post.

How can I sync my mailboxes after the migration?

To perform a delta migration, open your migration in the overview and click on the Sync Now button. Now our tool will start to identify changes that happened in your old mailbox after the last sync or the initial migration. MailJerry will then apply those changes to your new mailbox as well. This allows you to conveniently migrate new messages that were received in your old account after the initial sync.

If you enable the auto sync, MailJerry checks your old account for changes every three hours. Identified changes are applied to your new mailbox automatically.

For a continuous sync, the backup mode allows you to run a delta migration within the selected daily, weekly or monthly interval.

I have further questions. Where can I get help?

On our help center, we answer many frequent questions. And in case you don't find an answer to your question, our support team is happy to help.