Migrate email to G Suite with the data migration service

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

If you're migrating to G Suite, you can migrate email using the data migration service.

Before you begin

Is my legacy environment supported?

You can migrate email using the data migration service, if your legacy environment is listed below.

Legacy environment For migration details, go to...
Microsoft® Exchange Server 2003, 2007, 2010, 2013, 2016, or Exchange Online (Office 365®) Migrate email from Exchange or Exchange Online
A webmail provider that uses the IMAP protocol, such as 1&1 IONOS®, AOL®, Apple® iCloud®, Bluehost®, Yahoo!®, or Zoho® Migrate email from IMAP-based webmail providers
Another G Suite account Migrate email from G Suite
A personal Gmail (@gmail.com) account Migrate data from Gmail
Is my G Suite edition supported?

The data migration service supports G Suite Essentials and G Suite Enterprise, Business, Basic, and Education accounts. Compare G Suite editions.

Note: If you have G Suite Essentials, you can only migrate contacts. You can't migrate email or calendar data.

Set up your legacy environment (required)

Before you can use the data migration service, you need to prepare the environment you're migrating from.

Migrate email from Exchange or Exchange Online

Step 1: Set up the data migration service
  1. Sign in to your Google Admin console.

    Sign in using an account with super administrator privileges (does not end in @gmail.com).

  2. From the Admin console Home page, go to Data migration.
  3. Click Set Data Migration Up.
  4. Under Migration Source, select your version of Exchange or Exchange Online (Office 365).

    Then, select Email as the data type.

  5. Under Connection Protocol, choose an option:
    • Auto Select (Recommended)
    • Exchange Web Services (EWS) and in the Server URI field enter your EWS server name (for example, https://outlook.office365.com/EWS/Exchange.asmx)
    • IMAP and in the Server URI field, enter your IMAP server name (for example, imap.yourdomain.com).
  6. Under Role Account, enter the email address and password for your role account.
  7. Click Start.
  8. (Optional) If the connection fails, verify the role account and connection protocol information is correct. Then, click Start again.
  9. Under Migration Start Date, accept the option that appears or choose a start date for your migration.
  10. Under Migration Options, accept the options that appear or choose to exclude some data.
  11. Click Select Users.
Step 2: Migrate email from Exchange

Before you begin to migrate, complete the steps above to set up the data migration service. Then, choose whether to migrate email for a single user or for multiple users.

Migrate email for a single user

  1. Click Add user.
  2. In the Source Email field, enter the user's legacy email address.
  3. In the G Suite Email field, start typing the user's new G Suite email address and choose from the list of suggested users.
  4. Click Start.
  5. (Optional) To migrate another user's email, repeat these steps.

Migrate email for multiple users

  1. Click Bulk upload with csv.
  2. Click Attach File to upload the migration CSV file containing the legacy email addresses and the new G Suite email addresses.

    For details on how to format the file, go to Use CSV files with the data migration service.

  3. Click Upload and Start Migration.
  4. If there are errors in your file, choose an option:
    • To update the file, click Cancel. Then, upload the updated file.
    • To ignore the incorrect mappings, check the Ignore errors box.

Tip: To exit a completed migration, click Moreand thenExit migration.

Migrate email from IMAP-based webmail providers

Step 1: Set up the data migration service
  1. Sign in to your Google Admin console.

    Sign in using an account with super administrator privileges (does not end in @gmail.com).

  2. From the Admin console Home page, go to Data migration.
  3. Click Set Data Migration Up.
  4. Under Migration Source, select GoDaddy IMAP or Other IMAP Server.

    Make sure Email is selected as the data type.

  5. Under Connection Protocol, choose an option:
  6. Under Role Account, enter the email address and password for your role account.
  7. Click Start.
  8. (Optional) If the connection fails, verify the role account and connection protocol information is correct. Then, click Start again.
  9. Under Migration Start Date, accept the option that appears or choose a start date for your migration.
  10. Under Migration Options, accept the options that appear or choose to exclude some data.
  11. Click Select Users.
Step 2: Migrate email from IMAP-based webmail providers

Before you begin to migrate, complete the steps above to set up the data migration service. Then, choose whether to migrate email for a single user or for multiple users.

Migrate email for a single user

  1. Click Add user.
  2. In the Source Email field, enter the user's legacy email address.
  3. In the G Suite Email field, start typing the user's new G Suite email address and choose from the list of suggested users.
  4. In the Password field, enter the user's password for their legacy email account.
  5. Click Start.
  6. (Optional) To migrate another user's email, repeat these steps.

Migrate email for multiple users

  1. Click Bulk upload with csv.
  2. Click Attach File to upload the migration CSV file containing the legacy email addresses and the new G Suite email addresses.

    For details on how to format the file, go to Use CSV files with the data migration service.

  3. Click Upload and Start Migration.
  4. If there are errors in your file, choose an option:
    • To update the file, click Cancel. Then, upload the updated file.
    • To ignore the incorrect mappings, check the Ignore errors box.

Tip: To exit a completed migration, click Moreand thenExit migration.

Connection information for common IMAP-based webmail providers

If your provider isn't listed here, check your provider's documentation for this information. Also, make sure your username and password are close-at-hand.

Webmail provider Connection protocol IMAP server name More information
123 Reg IMAP imap.123-reg.co.uk 123 Reg IMAP settings
1&1 IONOS IMAP
  • imap.ionos.com
  • imap.ionos.co.uk
  • imap.ionos.fr
  • imap.1and1.com
1&1 IONOS IMAP settings
AOL IMAP imap.aol.com AOL IMAP settings
Apple iCloud IMAP imap.mail.me.com Apple iCloud IMAP settings
Bluehost IMAP

mail.example.com (where example.com is your domain name)

Bluehost IMAP settings
DreamHost IMAP imap.dreamhost.com DreamHost IMAP settings
Fastmail IMAP imap.fastmail.com Fastmail IMAP settings
Gandi.net IMAP mail.gandi.net Gandi.net IMAP settings
HostGator IMAP gator####.hostgator.com (where #### is your HostGator server name on the left hand of the cPanel) HostGator IMAP settings
Locaweb IMAP email-ssl.com.br Locaweb IMAP settings
Namecheap IMAP mail.privateemail.com Namecheap IMAP settings
Office 365 IMAP outlook.office365.com Office 365 IMAP settings
one.com IMAP imap.one.com one.com IMAP settings
Outlook®, Hotmail, and MSN IMAP imap-mail.outlook.com Outlook and Hotmail IMAP settings
OVHcloud IMAP ssl0.ovh.net OVHcloud IMAP settings
Rackspace® IMAP secure.emailsrvr.com Rackpsace IMAP settings
Yahoo! (including Yahoo! Small Business) IMAP

imap.mail.yahoo.com

Yahoo! IMAP settings
Yandex IMAP
  • imap.yandex.ru
  • imap.yandex.com
Yandex IMAP settings
Zoho IMAP
  • imap.zoho.com (For personal users with a username@zoho.com email address)
  • imappro.zoho.com (For organization users with a you@yourdomain.com domain-based email address)
Zoho IMAP settings

Migrate email from G Suite

Step 1: Set up the data migration service
  1. Sign in to your Google Admin console.

    Sign in using an account with super administrator privileges (does not end in @gmail.com).

  2. From the Admin console Home page, go to Data migration.
  3. Click Set Data Migration Up.
  4. Under Migration Source, select G Suite.
  5. Click Start.
  6. Under Migration Start Date, accept the option that appears or choose a start date for your migration.
  7. Under Migration Options, accept the options that appear or choose to exclude some data.
  8. Click Select Users.
Step 2: Migrate email from another G Suite account

Before you begin to migrate, complete the steps above to set up the data migration service. Then, choose whether to migrate email for a single user or for multiple users.

Migrate email for a single user

  1. Click Add user.
  2. In the Source Email field, enter the user's legacy G Suite email address.
  3. In the G Suite Email field, start typing the user's new G Suite email address and choose from the list of suggested users.
  4. In the Password field, enter the user's password for their legacy email account.
  5. Click Start.
  6. (Optional) To migrate another user's email, repeat these steps.

Migrate email for multiple users

  1. Click Bulk upload with csv.
  2. Click Attach File to upload the migration CSV file containing the legacy email addresses and the new G Suite email addresses.

    For details on how to format the file, go to Use CSV files with the data migration service.

  3. Click Upload and Start Migration.
  4. If there are errors in your file, choose an option:
    • To update the file, click Cancel. Then, upload the updated file.
    • To ignore the incorrect mappings, check the Ignore errors box.

Tip: To exit a completed migration, click Moreand thenExit migration.

Migrate data from Gmail

Set up and migrate from Gmail
  1. Sign in to your Google Admin console.

    Sign in using an account with super administrator privileges (does not end in @gmail.com).

  2. From the Admin console Home page, go to Data migration.
  3. Click Set Migration Up.
  4. Under Migration Source, select Gmail.
  5. Click Start.
  6. Under Migration Start Date, accept the option that appears or choose a start date for your migration.
  7. Under Migration Options, accept the options that appear or choose to exclude some data.
  8. Click Select Users.
  9. Click Add user.
  10. In the Source Email field, enter the user's Gmail address.
  11. In the G Suite Email field, start typing the user's new G Suite email address and choose from the list of suggested users.
  12. Click Authorize.
    • The Gmail account owner is prompted to sign into Gmail.
    • The Gmail account owner must review the request for permission to view and manage their mail and click Allow.
  13. Copy the authorization code and paste in the Authorization Code field.

    Note: You have 10 minutes to copy and paste the code before it expires.

  14. Click Start.
  15. (Optional) To migrate Gmail for another user, repeat these steps.

Migration tips

Was this helpful?
How can we improve it?