How to transfer all emails from one gmail account to another

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. If you're a user who wants to move from Google Workspace to Gmail, follow the steps in Get only old messages instead.

You can migrate your users' email data to Google Workspace using the data migration service if you're migrating from:

  • Microsoft Exchange Server 2003, 2007, 2010, 2013, 2016, or Exchange Online (Microsoft 365).
  • A webmail provider that uses the IMAP protocol, such as 1&1 IONOS, AOL, Apple iCloud, Bluehost, Yahoo!, or Zoho.
  • Another Google Workspace account.
  • A personal Gmail (@gmail.com) account

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

Before you begin

  1. Before you can use the data migration service, you need to complete steps in the account you're migrating from. For details on setting up your source account, go to Prepare your source account.
  2. Complete the steps below to set up the data migration service to migrate email from:
    • Exchange or Exchange Online
    • IMAP-based webmail providers
    • Google Workspace
    • A personal Gmail (@gmail.com) account

Exchange or Exchange Online

Expand section  |  Collapse all & go to top

Step 1: Set up the data migration service

Option 1: Set up Exchange Online

  1. Make sure you have completed the steps in Prepare your source account: Exchange Online. 
  2. For Migration Start Date, accept the option that appears or choose a start date for your migration.
  3. For Migration Options, accept the options that appear or choose to exclude some data.
  4. Click Select Users.

Option 2: Set up other versions of Exchange

  1. In the Admin console, go to Menu 

    How to transfer all emails from one gmail account to another
     AccountData migration.

  2. Click Set Data Migration Up.
  3. For Migration Source, select your version of Exchange.

    Then, select Email as the data type.

  4. For 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)
  5. For Role Account, enter the email address and password for your role account.
  6. Click Start.
  7. (Optional) If the connection was unsuccessful, verify the role account and connection protocol information is correct. Then, click Start again.
  8. For Migration Start Date, accept the option that appears or choose a start date for your migration.
  9. For Migration Options, accept the options that appear or choose to exclude some data.
  10. Click Select Users.

Step 2: Migrate email from Exchange

Migrate email for a single user

  1. Click Add user.
  2. For Source Email, enter the user's email address on the source account.
  3. For Google Workspace Email, start entering the user's new 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 email addresses.
    Include only those addresses that you want to migrate in the CSV file, this can be all or just some of the addresses on your server. 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 MoreExit migration.

IMAP-based webmail providers

Expand section  |  Collapse all & go to top

Step 1: Set up the data migration service

  1. In the Admin console, go to Menu  AccountData migration.

  2. Click Set Data Migration Up.
  3. For Migration Source, select Other IMAP Server.

    Make sure Email is selected as the data type.

  4. For Connection Protocol, choose an option:
    • Auto Select (Recommended).
    • IMAP and in the Server URI field, enter your IMAP server name (for example, imap.example.com).

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

  5. For Role Account, enter the email address and password for your role account.
  6. Click Start.
  7. (Optional) If the connection was unsuccessful, verify the role account and connection protocol information is correct. Then, click Start again.
  8. For Migration Start Date, accept the option that appears or choose a start date for your migration.
  9. For Migration Options, accept the options that appear or choose to exclude some data.
  10. Click Select Users.

Step 2: Migrate email from IMAP-based webmail providers

Migrate email for a single user

  1. Click Add user.
  2. In the Source Email field, enter the user's email address on the source account.
  3. For Google Workspace Email, start entering the user's new Google Workspace email address and choose from the list of suggested users.
  4. For Password, enter the user's password for their source 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 Google Workspace 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 MoreExit 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 providerIMAP server name
123 Reg imap.123-reg.co.uk
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 hand of the cPanel)
Locaweb email-ssl.com.br
MSN imap-mail.outlook.com
Namecheap mail.privateemail.com

Microsoft 365, Outlook, Hotmail, 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 email address)
  • imappro.zoho.com (For organization users with a domain-based email address)

Google Workspace

Expand section  |  Collapse all & go to top

Step 1: Set up the data migration service

Perform the following steps on your target Google Workspace domain (the account you're migrating to).

  1. In the Admin console, go to Menu  AccountData migration.

  2. Click Set Data Migration Up.
  3. For Migration Source, select Google Workspace.
  4. Click Start.
  5. For Migration Start Date, accept the option that appears or choose a start date for your migration.
  6. For Migration Options, accept the options that appear or choose to exclude some data.
  7. Click Select Users.

Step 2: Migrate email from another Google Workspace account

Perform the following steps on your target Google Workspace domain (the account you're migrating to).

Migrate email for a single user

  1. Click Add user.
  2. For Source Email, enter the user's Google Workspace email address on the source account.
  3. For Google Workspace Email field, start entering the user's new Google Workspace email address and choose from the list of suggested users.
  4. For Password field, enter the user's password for their source 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 Google Workspace 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 MoreExit migration.

Personal Gmail account

Set up & migrate from Gmail

Before you begin: Make sure the user whose data you're migrating is available to sign in to their Gmail account and allow you to migrate data. After they authorize, you have 10 minutes to enter the user's new email address and start the migration before the authorization expires.

  1. In the Admin console, go to Menu  AccountData migration.

  2. Click Set Data Migration Up.
  3. For Migration Source, select Gmail.
  4. Click Start.
  5. For Migration Start Date, accept the option that appears or choose a start date for your migration.
  6. For Migration Options, accept the options that appear or choose to exclude some data.
  7. Click Select UsersAdd user.
  8. For Source Email, enter the user's Gmail address.
  9. Click Authorize.
    • The Gmail account owner is prompted to sign in to Gmail.
    • The Gmail account owner must review the request for permission to view and manage their mail and click Allow.
  10. For Google Workspace Email, start entering the user's new Google Workspace email address and choose from the list of suggested users.
  11. Click Start.

    You have 10 minutes to enter the user's new email address and start the migration before the authorization expires.

  12. (Optional) To migrate Gmail for another user, repeat these steps.

Migration tips

  • If you want to know more about the data migration service, including how many users you can migrate, go to Is the data migration service right for my organization?
  • If you have questions about running a migration, go to Data migration service FAQ.
  • To change the migration settings, you must first cancel the migration. For details, go to Cancel a migration.
  • You can change the migration's speed. For details, go to Make my migration run faster.
  • You can monitor the status of an individual user's migration and request a domain-level report. Refer to Monitor a migration.
  • If you encounter issues during a migration, go to Troubleshoot the data migration service.


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?

How do I transfer all emails from one account to another?

On a computer, sign in to your Gmail account. Click the gear icon on the top right of the screen, then click Settings. Click the Forwarding and POP/IMAP tab. Click Add a forwarding address button and enter the email you'd like to forward to.

How do I transfer all my stuff from one Google Account to another?

You can do that in three ways:.
By downloading files from the old Google Drive and uploading them to the new one;.
By creating an archive with Google Takeout and uploading it to the new Google Drive;.
By using the Sharing feature..
By using automatic third-party tools..