After you create a Google Workspace account, you can migrate email data from your old Google or IMAP-based email account using Google Workspace Migration for Microsoft Exchange (GWMME). You can choose to migrate data using one of the following methods:
- Gmail—Migrate data using IMAP. Provides configuration presets to make migration simpler.
- IMAP—Migrate from nearly any RFC 3501-compliant IMAP server. Provides more options for greater control over the migration.
To learn more about GWMME, the GWMME Admin Guide includes detailed information on how GWMME works, getting started, and running your migration.
Step 1: Before you begin
Check the system requirementsAllow permissions for less secure apps to access accounts:
- If you're migrating from a Google Workspace account and are using a password instead of OAuth. For details, go to "Option 1" on Authorize GWMME for your account.
- If you're migrating from a personal Gmail (@gmail.com) account.
Note: When migrating from Gmail accounts, we recommend using the data migration service as it doesn't require permission for less secure apps. Learn more
For more information, go to Control access to less secure apps.
Note: Accounts that have 2-Step Verification turned on don’t have the less secure apps setting. Instead, use App Passwords.
Each user must individually turn off folder-size limits and make the All Mail, Spam, and Trash labels available to IMAP.
- To turn off folder-size limits, each user must:
- Open Gmail and click Settings
See all settings.
- On the Forwarding and POP/IMAP tab, make sure Enable IMAP is selected.
- Select Do not limit the number of messages in an IMAP folder (default) under Folder size limits and click Save Changes.
- Open Gmail and click Settings
- To show All Mail, Spam, and Trash labels in IMAP, each user must:
- Open Gmail and click Settings
See all settings.
- On the Labels tab, next to All Mail, Spam, and Trash, check the Show in IMAP box.
- Open Gmail and click Settings
Step 2: Authorize GWMME
Before you can install GWMME, you must authorize the software for your domain. For details, go to Authorize GWMME for your account.
Step 3: Download and install GWMME
- Download the MSI file from the GWMME download page.
- To install GWMME, open the installer and follow the instructions.
Step 4: Configure GWMME
Complete these steps in the GWMME product.
Step 1: IMAP server details- Run GWMME: Click Start
Google Workspace Migration
Google Workspace Migration for Microsoft Exchange.
- For Server Type, select IMAP or Gmail.
Note: If you select Gmail, no extra details are required. Click Next to go to Step 2.
- For IMAP Server Type, select the server type that applies to your migration.
- In the Hostname/IP Address field, specify your source domain name or the IP address of the email server from which you want to migrate data. For example: imap.example.com or 198.102.434.8.
- Select your IMAP Security preference.
- Enter your IMAP Port value. If you're using SSL, specify 993.
- If you're migrating from a Cyrus or Courier IMAP server, specify INBOX in the IMAP Path Prefix field. Otherwise, leave it blank.
- Click Next to specify user and domain information.
- In the Google Workspace domain name field, specify the new primary Google Workspace domain where the data will be migrated.
Note: The domain you specify in step 1 of the GWMME product must be the primary Google Workspace target domain environment you're migrating users to. If you're migrating mail to a Google Workspace account with secondary domains, the target domain you choose might differ from the domain in the email addresses you’re migrating.
- In the Service account credentials file field, specify the path to your credentials JSON file created as part of the authorization process.
- In the Google Workspace admin user field, specify the full email address of your Google Workspace domain super administrator.
- Click Next to specify the migration settings.
- Check the Email messages box and set the date range for the migration. For details, review Chapter 5 in the GWMME Admin Guide.
- In the File of accounts to migrate field, specify the path to the CSV file of user accounts you’re migrating.
- Click Next.
- Review the migration settings and optionally make changes.
- Select your migration actions:
- Migrate all data—When checked, the utility overwrites existing data during migration. When unchecked, duplicate messages are skipped.
- Save settings—When checked, the utility keeps the current configuration for future use.
- Run Diagnostics—When checked, the utility verifies the configuration before running the migration.
- Estimate—When checked, the utility estimates the message count for the source users.
- Migrate—When checked, the utility runs the migration.
- Click Next to begin the migration process.
- If Run Diagnostics is checked, test results are displayed. Click Start to begin the migration process once all tests pass.
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.