Migrate email from an IMAP account

Use the new data migration service to copy email data to Google Workspace from IMAP-based providers, such as Yahoo!, iCloud Mail, GoDaddy, Zoho, and Titan

Except where indicated, perform the following steps in the Google Admin console with your organization's Google Workspace account.

Before you begin

  • Complete the requirements in Get ready to migrate .
  • Make sure a super administrator sets up and runs the migration. Resellers can't migrate data for their customer accounts. 
  • Ensure that your server connects to Google IP address ranges .
  • Make sure that IMAP is turned on for your IMAP and Workspace accounts.

Run a migration

You must be signed in as a  super administrator  for this task.

Expand section   |   Collapse all & go to top

Step 1: Connect to IMAP server
  1. Sign in with a super administrator account to the Google Admin console.

    If you aren’t using a super administrator account, you can’t complete these steps.

  2. For IMAP, click Migrate.
  3. For IMAP server address, select your server from the list or manually enter your server name (for example, imap.example.com).

    For assistance with this information, go to Connection information for common IMAP-based webmail providers .

  4. Click Test connection.

    If the connection is successful, you get a Connectednotification.

Connection information for common IMAP-based webmail providers

If your provider isn't listed here, check your provider's documentation for this information.

Webmail provider
IMAP server address
123 Reg
  • imap.123-reg.co.uk
  • imap.secureserver.net
1&1 IONOS
  • imap.ionos.com
  • imap.ionos.co.uk
  • imap.ionos.fr
  • imap.1and1.com
AOL
imap.aol.com
Apple iCloud
imap.mail.me.com
Bluehost
mail. example.com (where example.com is your domain name)
DreamHost
imap.dreamhost.com
Fastmail
imap.fastmail.com
Gandi.net
mail.gandi.net
HostGator
gator####.hostgator.com (where #### is your HostGator server name on the left side of the cPanel)
Hostinger
imap.hostinger.com
Locaweb
email-ssl.com.br
Namecheap
mail.privateemail.com
one.com
imap.one.com
OVHcloud
ssl0.ovh.net
Rackspace
secure.emailsrvr.com
Titan
imap.titan.email
Yahoo! (including Yahoo! Small Business)
imap.mail.yahoo.com
Yandex
  • imap.yandex.ru
  • imap.yandex.com
Zoho
  • imap.zoho.com (for personal users with a username@zoho.com email address)
  • imappro.zoho.com (for users with a you@your-company.com organization domain-based email address)
Step 2: Select users to migrate

Once you connect your IMAP and Workspace accounts, you must map your user's email accounts to copy their email addresses to Workspace. The mapping options depend on the number of users in your organization. 

You need to provide each user's IMAP password and their IMAP and Workspace email addresses. Some IMAP servers require the user to create an application specific password (ASP). For details, go to Application specific passwords or your IMAP server documentation.

You can’t use the data migration service to migrate a single IMAP user to multiple Workspace users. You need to provide one-to-one or many-to-one mapping.

If you have 20 users or less

If your organization is small, you can directly enter information for each user that you’re migrating.

If you prefer to map your users with a comma-separated values (CSV) file, go to If you have more than 20 users . If you begin the following steps and then switch to the CSV upload process, the CSV file removes any data that you manually entered.

  1. For IMAP email address, enter an IMAP email address for a user.
  2. For IMAP password, enter the password for the user’s IMAP account.
  3. For Workspace email address, select the user’s Workspace address from the list or enter it manually.
  4. Click Add user.

    You can review the user’s IMAP and Workspace email addresses in a table after the text fields.

  5. (Optional) To delete a user mapping, next to the user's row, click Remove. Removing the mapping doesn’t delete the user or their data.
  6. Repeat this process for each user in your organization.
  7. Click Save changes.

If you have more than 20 users

Create and upload a CSV file that contains an IMAP email address, IMAP password, and Workspace address for every IMAP user that you want to migrate. You can create a new CSV file with the required columns or download a sample file and add rows. The completed CSV file must be smaller than 128 MB.

You can migrate up to 100 IMAP users at a time. If you need to migrate additional users or folders, you must start another migration.

To create the CSV file:

  1. Using your Workspace administrator account, open a spreadsheet program or click  Download a sample CSV file.
  2. In the first column, add the header Source ImapUserand enter the user’s IMAP email address.

    You can download a list of users from your Admin console. For details, go to Download a list of users .

  3. In the second column, add the header Source ImapPasswordand enter the password for the user’s IMAP account.
  4. In the third column, add the header TargetGUserand enter the user’s Workspace email address.

    Example:

    Source ImapUser

    Source ImapPassword Target GUser

    user1@example.com

    password1 user1@other-company.com

    user2@example.com

    password2 user2@other-company.com
  5. Save the spreadsheet as a CSV file.
  6. Upload the file to the Google Admin console:
    1. Click Upload CSV.
    2. Select the fileclick Open.
    3. Click Tasks to confirm that the mapping file is successfully uploaded.
  7. If the CSV file doesn't load successfully, go to (Optional) Delete a CSV file .

(Optional) Delete a CSV file

If there is an error during the CSV upload or the upload gets stuck, you can delete the current configuration and upload a new one.

  1. Select the CSV file you want to remove.
  2. Click Delete.
  3. Click Yesto confirm that you want to delete the CSV file.
  4. Go to  Step 2: Select users to migrate  and start a new upload.
(Optional) Step 3: Select the migration settings

Select migration settings to specify the type of messages that migrate. You can adjust some or all of the following options:

  1. Click Start dateand enter the date that you want messages migrated from.

    The new data migration service migrates messages from the selected date to the date that you start the migration.

  2. To migrate email messages that have been deleted, check the Migrate deleted emailsbox.
  3. To migrate email messages with the Spamlabel, check the Migrate spam emailsbox.
  4. If you don't want to migrate messages that have specific labels, check the Exclude specific folders from migrationbox, and enter the label names, separated by commas.

    For details, go to How to exclude folders from migration .

  5. Click Save.

How to exclude folders from migration

  • Enter each folder or subfolder separately.
  • When you add a subfolder, use the full path and separate the parent folder from the subfolder with a forward slash (/).

    Example: You want to exclude the folder Traveland its child folder, Asia. To do so, you enter Travel, Travel/Asia.

Step 4: Start & view the progress of the migration

You must be signed in as a  super administrator  for this task.

  1. Click Start migration.

    This action also grants domain-wide delegation and creates a client ID for Data Migration (New) in the target account. For more information, go to Control API access with domain-wide delegation .

  2. The status changes to In progress, and the following information is updated in real time:
    • Discovered tasks—Total number of items (messages, labels, and other tasks) that were migrated, skipped, or failed
    • Warning—Number of items that were migrated, but failed to complete as expected
    • Failed—Number of items that failed to migrate, due to an error
    • Skipped—Number of items that were skipped
    • Successful—Number of items that were migrated successfully
    • Users processed—Number of users whose migration has completed
    • Emails discovered—Number of email messages that were migrated, skipped, or failed
    • Emails migrated—Number of email messages that were migrated
    • Emails skipped—Number of email messages that were skipped
    • Emails failed–Number of email messages that failed to migrate

    When the migration is complete, you get an email with migration statistics. Any reports are attached.

  3. To export and interpret the reports, go to Understand email migration reports .
(Optional) Step 5: Run a delta migration

Run a delta migration to migrate data that was added to the IMAP account after the migration. For details, go to Run a delta migration .

Exit a completed migration

Important: Once you exit a migration, you can no longer access its configuration data or reports.

Information about a completed migration is displayed in the Admin console until you exit the migration. You can’t start a new migration until you exit a completed migration. To exit a completed migration:

  1. (Optional) To export the migration report, go to  Understand email migration reports .
  2. Click Exit migration Exit and delete migration.

When you exit, the system deletes the client ID and removes Data Migration (New) as a client in the domain-wide delegation setting.

Related topics

Was this helpful?

How can we improve it?
Search
Clear search
Close search
Google apps
Main menu
11708897164493692089
true
Search Help Center
false
true
true
true
true
true
73010
false
false
false
false
Create a Mobile Website
View Site in Mobile | Classic
Share by: