Connect Gmail to MailMigrata (OAuth, IMAP)
This article explains how to connect a consumer Gmail account (or a user signing in as themselves) to MailMigrata. For Workspace administrators migrating many users, see Connect Google Workspace mail.
Limitations
- Gmail labels are not folders. A message can carry several labels. On Microsoft 365 or IMAP destinations, a label becomes a folder copy or a single folder.
[Gmail]/All Mailcontains every message. Selecting it with Inbox duplicates mail on a non-Gmail destination.- Google does not accept your normal password. Use OAuth, or an app password on the manual form.
- Google bandwidth limits can pause a job. MailMigrata resumes the same job afterwards. See Fix common email migration issues.
- Calendars and contacts use CalendarMigrata (Connect Google Calendar (personal) to CalendarMigrata) and ContactMigrata (Connect Google Contacts (personal) to ContactMigrata); Drive uses FileMigrata.
Prerequisites
- IMAP enabled: Gmail Settings → See all settings → Forwarding and POP/IMAP → Enable IMAP.
- The Google account that owns the mailbox. Another profile shows a different mailbox.
Connection details
| Setting | Value |
|---|---|
| Authentication | OAuth2 (Connect with Google) |
| Host | imap.gmail.com |
| Port | 993 (SSL) |
App passwords are for mail clients you configure yourself, or for the manual form if no Connect with Google button appears.
Steps
- Turn on IMAP in Gmail.
- In MailMigrata, choose Gmail and click Connect with Google. Sign in on Google's screen. If the button is missing, enter your full
@gmail.comaddress and an app password. - Validate. Labels appear as folders.
- Select Inbox, Sent, and custom labels, or All Mail. Spam and Trash are optional.
- Make sure the destination allows IMAP append.
- After cutover, check a message that had two labels.
You can keep using Gmail during the copy. The source is not changed unless you choose to delete.
Troubleshooting
- Application-specific password required: you entered your web password in the manual form. Use Connect with Google, or create an app password. See OAuth, passwords, and app passwords.
- IMAP not enabled: turn it on, wait a minute, and validate again.
- Empty folder list: the pop-up signed in as a different Google account. Sign out of other accounts in the browser and retry.
- Many Workspace users: see Connect Google Workspace mail.