Connect Google Workspace mail (IMAP / OAuth / DWD) to MailMigrata
This article explains how to connect Google Workspace mailboxes to MailMigrata. Each mailbox connects separately, as that user.
Limitations
- One mailbox per sign-in. An administrator's sign-in copies that administrator's mailbox, not every mailbox they can open.
- Bulk migration with domain-wide delegation is MailMigrata's MSP path. For hundreds of users, contact sales.
- IMAP must be allowed in the Admin console, or every connection fails.
- Labels are not folders. The same Gmail label behavior applies.
- Shared mailboxes and Google Groups are not part of a user's mailbox and are not copied.
- Vault and retention holds do not block IMAP reads and are not transferred.
- Files use FileMigrata (Connect Google Workspace Shared Drives to FileMigrata); calendars use CalendarMigrata (Connect Google Workspace calendars (domain-wide) to CalendarMigrata).
What is migrated
- Messages, folders representing labels, and attachments the destination accepts.
- The source is not changed unless you choose to delete. Users can keep working during the copy.
Prerequisites
- IMAP enabled for the organization: Admin console Apps → Google Workspace → Gmail → End user access.
- Each user signs in with OAuth, or uses an app password if 2-Step Verification is on.
- The user's primary email address.
Connection details
| Setting | Value |
|---|---|
| Authentication | OAuth2, IMAP with app password, or domain-wide delegation (bulk) |
| Host | imap.gmail.com |
| Port | 993 |
Steps
- Confirm no organization policy blocks IMAP.
- In MailMigrata, choose Google Workspace or Gmail and sign in as the user.
- Validate and confirm the user's labels appear.
- Choose a destination and start. Each mailbox is a separate job or bulk batch.
Troubleshooting
- Admin policy blocks IMAP: an administrator must enable IMAP for the domain, wait for the policy to apply, then retry.
unauthorized_client: the OAuth app or domain-wide delegation lacks admin consent. Grant consent, or use app passwords if allowed.