Migrate email with the new data migration service

Transfer email data on behalf of your users

This article is for administrators who want to move their organization's email data to Google Workspace.

Migrate from Exchange Online

For details, go to Migrate data from an Exchange Online account.

You must be signed in as a super administrator for this task. Resellers cannot migrate data for their customer accounts. 

Expand section  |  Collapse all & go to top

Step 1: Connect to your Exchange Online account

Choose an Exchange Online account to copy data from:

  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 Exchange Online, click Migrate.
  3. Click Connect and sign in to your Microsoft account as a Global Administrator. 

    Note: If needed, allow pop-ups from Microsoft sites.

When your account is connected, Data migration (New) appears as an authorized API client on the Domain-wide delegation page of the Admin console. Learn more about domain-wide delegation.

Step 2: Select users to migrate

The workflow for migrating users from Exchange Online depends on the number of users in your organization.

If you have 10 users or less

After you connect your Exchange Online and Workspace accounts, the data migration service automatically finds users in both accounts and attempts to map them.

By default, the data migration service tries to match users with similar addresses. For example, an Exchange Online user with the address kim@example.com maps to a Workspace user with the address kim@other-company.com.

  1. Review the suggested mappings between Exchange Online users and Workspace users.
  2. If the data migration service can't find a matching email address for some of your Workspace users, manually add addresses for those users.
  3. If you need to change any of the suggested Workspace email addresses, select the address to use.
  4. If you don't want to migrate certain users, uncheck the checkboxes next to their email addresses.
  5. If you recently added or updated users in Workspace, click Refresh data to generate a new list of mapped users.

    Refreshing discards the current user list in the data migration services and any manual edits you made to it.

  6. If you clicked Refresh data, manually re-add any users that the service can't find a matching email address for (step 2 earlier in this section).
  7. Click Save Changes.

If you have 10 users or more

Create and upload a comma-separated values (CSV) file that contains each user's Exchange Online email address and their new Workspace address. You can also use a CSV file to migrate Exchange Online resource calendars to Google Calendar resources, such as meeting rooms.

To get details about users in your Exchange Online tenant, go to Plan for where and how you will manage your user accounts.

Tip: Click Download sample CSV file to get an example file.

To create your own CSV file:

  1. Open a spreadsheet program.
  2. In the first column, add the header Source Exchange Email and add an email address for every Exchange Online user or calendar resource you're migrating. Each row must contain a unique email address.
  3. In the second column, add the header Target GUser and add a Workspace email for each user or calendar resource. The email address doesn't need to be unique.

    Use a separate row for each user or calendar resource.

    Example:

    Source Exchange Email

    Target GUser

    kim@example.com

    kim@other-company.com

    alex@example.com

    alex@other-company.com

    You can migrate up to 250 users or resources at a time. The CSV file must be smaller than 10 MB. Additional users require a second migration.

  4. Save the spreadsheet as a CSV file.

  5. Upload the file to the Google Admin console:
    1. Click Upload CSV.
    2. Select the fileand thenclick Open.
    3. Click Tasks  to confirm that the mapping file is successfully uploaded.
      Note: If the CSV file doesn't load successfully, go to (Optional) Step 3: Delete a CSV file.
(Optional) Step 3: 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 Yes to confirm that you want to delete the CSV file.
  4. To upload a new list of source users, go to Step 2: Select users to migrate and follow the instructions for organizations with more than 10 users.
Step 4: Configure migration settings

Adjust the following settings to choose which data to copy from Exchange Online.

  1. For Data sources, check one or more of the following boxes to migrate data for all your selected users:
    • Email
    • Calendar events
    • Contacts
      Note: 
      A new data migration duplicates any contacts you already migrated. Contact labels are not duplicated.
  2. For Date range, select a date to start migrating data. All calendar events and email messages sent or received after this date are copied to Workspace. All contacts are copied regardless of creation date.
  3. (Optional) To specify additional email messages and folders, check the following boxes:
    • Include deleted email—Migrate deleted email messages.
    • Include spam email—Migrate email messages in spam folders.
    • Exclude folders for all users in my organization—Exclude messages in specific folders. Enter the excluded folder names, separated by commas. For details, go to Exclude folders from migration.
  4. (Optional) To migrate the Exchange Online users' calendars and events, including calendars for personal appointments, select Copy additional calendars. After a migration, these are in Other calendars in Google Calendar.
  5. (Optional) For Calendar events for non-migrated users, manually add a list of additional users and resources in a CSV file. This list can include event invitees who aren't part of the migration. For example, you might be planning to migrate some users later. Or, the list could include event guests who are outside of your organization.
    1. Check the Upload a list of email addresses for non-migrated users box.
    2. Open a spreadsheet program.
    3. In the first column, add the header Source Email and add the user's original email address.
    4. In the second column, add the header Destination Email and add the new email address.

      Use a separate row for each user.

      Example:

      Source Email

      Destination Email

      kim@example.com kim@other-company.com
      alex@example.com

      alex@other-company.com

    5. Save the spreadsheet as a CSV file.
    6. Click Upload CSV and follow the steps to upload the CSV file.
    7. (Optional) To choose what happens if the service finds additional users during the process, check the If the user's aren't in the list you uploaded, copy their addresses and box and opt to keep the same domain name or choose a different domain name from the list.

      This setting doesn't work for Exchange Online resource calendars. You must use a CSV file to map them to Google Calendar resources.

  6. Click Save changes.

Exclude folders from migration

  • Separately add each Exchange Online folder or subfolder name.
  • If you exclude a folder, the migration doesn’t include its subfolders and any email messages in them.
  • To exclude a subfolder, use the full path and separate the parent folder from the subfolder with a forward slash (/). For example:
    • If you want to exclude the subfolder Asia in the folder Travel, enter Travel/Asia.
    • If you also add Travel in the list, such as Travel, Travel/Asia, then all the subfolders are automatically excluded.
  • To exclude a folder with a forward slash (/) in its name, replace each slash with an underscore (_). For example, to exclude Folder/with/slash, add it as Folder_with_slash.
  • You can also exclude default Microsoft folders, such as Deleted Items, Inbox, or Junk email, and user-created folders.

Migrate additional calendars

When you migrate additional Outlook calendars, such as a calendar for personal appointments, they’re migrated as Other calendars in Google Calendar.

Step 5: Start the migration and check its progress
  1. Click Start migration.
  2. The status changes to In progress and the following information is updated in real time:
    • Discovered items—Total number of items (messages, folders, 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.
    • Users processed—Number of users whose migration is complete for all selected data types.
    • Emails discovered—Number of email messages in the Exchange Online users’ accounts.
    • Emails migrated—Number of email messages that were migrated.
    • Emails skipped—Number of email messages that were skipped. For example, an email is marked as skipped if it was already migrated in a full migration and then you run a delta migration.
    • Emails failed—Number of email messages that failed to migrate.
    • Calendars processed—Number of calendars that were migrated.
    • Calendar events discovered—Number of events in the Exchange Online users’ accounts.
    • Calendar events migrated—Number of events that were migrated.
    • Calendar events skipped—Number of events that were skipped. For example, an event is marked as skipped if it was already migrated in a full migration and then you run a delta migration.
    • Calendar events failed—Number of events that failed to migrate.
    • Contacts discovered—Number of contacts in the Exchange Online users' accounts.
    • Contacts migrated—Number of contacts that were migrated.
    • Contacts skipped—Number of contacts that were skipped. For example, a contact is marked as skipped if it was already migrated in a full migration and then you run a delta migration.
    • Contacts failed—Number of events that failed to migrate. 

    You can navigate away from the migration page without interrupting the migration. Your migration continues unless you cancel it.

  3. (Optional) To export a report for a migration in progress:
    1. Click Export migration report or Export user report.
    2. If the Tasks list doesn't automatically open with the exported report, click Tasks and thenthe report link.
    3. Click Open in Google Sheets to open the report in Sheets.
    4. To export and interpret the reports, go to Understand Exchange Online data migration reports.
(Optional) Step 6: Stop a migration in progress

To stop a migration that’s in progress, click Stop migration. It might take a few minutes for the migration to stop, and the migration process does not roll back.

Email messages, calendars, calendar events, and contacts migrated before you stopped the migration are not deleted from Gmail, Calendar, or Contacts. 

Step 7: Run a delta migration

After you successfully migrate data, you can still run a delta migration to copy any newly added or updated data to Workspace. You can also retry migrating data that failed in the initial migration. For details, go to Run a delta migration.

 

Migrate from IMAP-based webmail providers

Use the data migration service to copy email from IMAP-based providers such as Yahoo, iCloud Mail, and GoDaddy. For details, go to Migrate email from an IMAP account.

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, enter the address of the IMAP server, for example, imap.example.com.

    For assistance with this information, go to the Connection information for common IMAP-based webmail providers table (later in this section).

  4. Click Test connection.

    If the connection is successful, you get a Connected notification.

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

Microsoft 365, Outlook, Hotmail, MSN, and live.com

outlook.office365.com
one.com imap.one.com
OVHcloud ssl0.ovh.net
Rackspace secure.emailsrvr.com
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 organization users with a you@your-company.com domain-based email address)
Step 2: Create & upload a migration map

You use a migration map to connect users on the source account to users on the target account. The new data migration service uses the migration map to transfer email data from the source user to the target user.

The mapping file requires you to enter the user's password from their source account. However, some IMAP servers require the user to create an app password instead. For details on app passwords and whether they are required, consult your IMAP server documentation.

1. Create the mapping file

Tip: Click Download sample CSV file to get an example comma-separated values (CSV) file that you can use.

  1. In a spreadsheet program, add the following headers:
    • Source ImapUser—The user's email address on the source account
    • Source ImapPassword—The user's password on the source account
    • Target GUser—The user's email address on the target account

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

  2. Using valid email addresses, map the users and their passwords under the headers (both addresses are mandatory). Be aware of the following points:
    • You can't map a single source user to more than one target user.
    • Make sure the file contains no more than 100 source users and doesn't exceed 128 MB in size.

      The new data migration service currently supports a maximum of 100 users for IMAP migrations.

  3. Save the spreadsheet as a CSV file.

Example:

Source ImapUser Source ImapPassword Target GUser
user1@example.com password1 user1@solarmora.com
user2@example.com password2 user2@solarmora.com

In this example, the source domain is example.com. The target domain is solarmora.com.

2. Upload the file

  1. In the Admin console of your target account, click Upload CSV.
  2. Go to and select your CSV mapping fileand thenclick Open.
  3. Click Tasks to confirm that the mapping file has successfully been uploaded.

    Note: If the CSV file doesn't load successfully, go to the next section, (Optional) 3. Delete a CSV file.

(Optional) 3. 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 Yes to confirm that you want to delete the CSV file.
  4. To start a new upload, return to the previous section, 2. Upload the file.
Step 3: Select the migration settings
  1. Click Start date and 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. (Optional) To migrate email messages that have been deleted, check the Migrate deleted emails box.
  3. (Optional) To migrate email messages with the Spam label, check the Migrate spam emails box.
  4. (Optional) If you don't want to migrate messages that have specific labels, check the Exclude specific folders from migration box, and enter the label names, separated by commas.

    For details, go to How to exclude folders from migration (in the next section).

  5. Click Save.

How to exclude folders from migration

  • Specify 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 Travel and 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
  3. To export and interpret the reports, go to Understand the new data migration service reports.
Step 5: (Optional) Run a delta migration

To move data that has been added to the source account since the primary migration, run a delta migration. For details, go to Run a delta migration.

Migrate from Google Workspace

For details, go to Migrate email from a Google Workspace account.

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

Expand section  |  Collapse all & go to top

Step 1: Request authorization
  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 Google Workspace emails, click Migrate.
  3. Click Source super admin email address, and enter the email address of a super administrator on the source account (the account where you are migrating from).

    Important: Only the admin you specify in this field can authorize the process.

  4. Click Request authorization.

    An authorization request is sent in an email to the super admin specified in step 5. The request expires in 24 hours. If the request expires and you want to resend it, click Resend request. You must wait 24 hours after you send a request before you can resend it.

Next steps

To proceed, the super admin of the source account must open the authorization link in the email, sign in to their Admin console and click Authorize. The authorization process also generates a client ID and grants domain-wide delegation for Data Migration (New) in the source account. For more information, go to Control API access with domain-wide delegation.

If you click Verify authorization in the Admin console of the target account, the status changes to Connected.

Step 2: Create & upload a migration map

You use a migration map to connect users on the source account to users on the target account. The new data migration service uses the migration map to transfer email data from the source user to the target user.

1. Create the mapping file

Tip: Click Download a sample CSV to get an example comma-separated values (CSV) file that you can use.

In a spreadsheet program:

  • Add the first header, Source GUser (for users' email addresses on the source account), then the second header, Target GUser (for users' email addresses on the target account).
  • Using valid email addresses, map the users under the headers (both addresses are mandatory).

    You can't map a single source user to more than one target user. You can download a list of users from your Google Admin console. For details, go to Download a list of users.

  • Make sure the file contains no more than 1,000 source users and doesn't exceed 128 MB in size.

    The new data migration service currently supports a maximum of 1,000 users for migrations to Google Workspace.

  • Save the spreadsheet as a CSV file.

Example:

Source GUser Target GUser
user1@example.com user1@solarmora.com
user2@example.com user2@solarmora.com

In this example, the source domain is example.com. The target domain is solarmora.com.

2. Upload the file

  1. In the Admin console of your target account, click Upload migration map CSV.
  2. Go to and select your CSV mapping fileand thenclick Open.
  3. Click Tasks to confirm that the mapping file has successfully been uploaded.

    Note: If the CSV file doesn't load successfully, go to the next section, (Optional) 3. Delete a CSV file.

(Optional) 3. 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 Yes to confirm that you want to delete the CSV file.
  4. To start a new upload, return to the previous section, 2. Upload the file.
Step 3: Select the migration settings
  1. Click Start date and 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. (Optional) To migrate email messages that have been deleted by users, check the Migrate deleted emails box.
  3. (Optional) To migrate email messages with the Spam label, check the Migrate spam emails box.
  4. (Optional) If you don't want to migrate messages that have specific labels, check the Exclude specific labels from migration box, and enter the label names, separated by commas.

    For details, go to How to exclude labels from migration (in the next section).

  5. Click Save.

How to exclude labels from migration

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

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

  • If you add All Mail, the new data migration service doesn’t migrate any email messages.
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
  3. To export and interpret the reports, go to Understand the new data migration service reports.
Step 5: Run a delta migration

To move data that has been added to the source account since the primary migration, start a delta migration. For details, go to Run a delta migration.

Migrate from a personal Gmail account

For details, go to Migrate email from a Gmail account.

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

Expand section  |  Collapse all & go to top

Before you begin
Step 1: Request authorization

You must be signed in as a super administrator for this task. Resellers can't migrate data for their customer accounts.

  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 Gmail, click Migrate.
  3. For Source email address, enter the address of the user’s Gmail account and click Request authorization.

    The owner of the Gmail account receives an email with a request to connect their account. To proceed, they must authorize the request. If you're the owner of the account, you can authorize the request directly from the Admin console.

  4. A Pending authorization message appears as the new data migration service automatically checks if the connection request has been authorized. If this message disappears and your request still hasn't been authorized, click Verify connection to continue checking for authorization. 
    One of the following messages is displayed:

    • Pending authorization—Wait for the account owner to authorize the request, then continue the migration process.
    • Connected—The account owner authorized your request.
    • Authorization denied—The account owner rejected your request to connect to their account. You must cancel your current request before sending a new request to connect to the same account or a different one.
    • Request expired—If the account owner doesn't authorize your request to connect to their account within 24 hours, the request expires. Click Refresh request to resend the authorization request.
Step 2: Specify the target user
  1. For Target account, enter the email address of the Google Workspace account you want to migrate data to.

    The user of this account must have a Google Workspace license and have the Gmail service turned on. For details, go to About migrating email with the new data migration service.

  2. Click Save.
Step 3: (Optional) Select the migration settings
  1. Click Start date and 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.
    • If you don't select a start date, by default all messages sent or received for your organization will be migrated starting from Jan. 1, 2000.

  2. (Optional) To migrate email messages that have been deleted, check the Migrate deleted emails box.

  3. (Optional) To migrate email messages with the Spam label, check the Migrate spam emails box.

  4. (Optional) If you don't want to migrate messages that have specific labels, check the Exclude specific labels from migration box, and enter the label names, separated by a comma.

    For details, go to How to exclude labels from migration on this page.

  5. Click Save.

How to exclude labels from migration

  • Specify each label or sub-label separately.
  • When you add a sub-label, use the full path and separate the parent label from the sub-label with a forward slash (/).

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

  • If you add All Mail, the new data migration service doesn't migrate any email messages.
Step 4: Start & view the progress of the migration
  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
    • 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 didn't migrate
  3. To export and interpret the report, go to Understand email migration reports.
Step 5: Run a delta migration

To move data that has been added to the source account since the primary migration, start a delta migration. For details, go to Run a delta migration.


Google, Google Workspace, and related marks and logos are trademarks of Google LLC. All other company and product names are trademarks of the companies with which they are associated.

Was this helpful?

How can we improve it?
Search
Clear search
Close search
Main menu
16820770773555157228
true
Search Help Center
false
true
true
true
true
true
73010
false
false
false
false