Documentation

JustForwarding help

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


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

  1. Turn on IMAP in Gmail.
  2. In MailMigrata, choose Gmail and click Connect with Google. Sign in on Google's screen. If the button is missing, enter your full @gmail.com address and an app password.
  3. Validate. Labels appear as folders.
  4. Select Inbox, Sent, and custom labels, or All Mail. Spam and Trash are optional.
  5. Make sure the destination allows IMAP append.
  6. 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.

Related articles