Documentation

Help for MailMigrata and the whole suite

Connect Google Workspace mail (IMAP / OAuth / DWD) to MailMigrata

Moving Google Workspace mailboxes with MailMigrata requires one sign-in per user, and this guide walks you through each step. Workspace mail stays IMAP or OAuth per user, because Google offers no single switch that converts a whole domain at once. An admin popup signs in only one mailbox, so the wizard never touches the remaining accounts in that domain. Domain-wide delegation and bulk moves form MailMigrata's MSP path, which is not the same work as ticking a domain checkbox. The Admin console must allow IMAP, because no client can read a mailbox while the organisation blocks that protocol. Labels versus folders is the same Gmail problem that bothers every Workspace migration, since Google files one message under many labels.

Files belong to FileMigrata, and calendars belong to CalendarMigrata, because each product migrates one data type well. Three existing pages explain the surrounding detail, so the host tables live on the How to migrate your Google Workspace email account page. The email migration made simple article lists wizard options, while Workspace to Microsoft 365 covers the longer walkthrough.

What You’ll Learn

  • You will confirm that IMAP is allowed for the whole organisation before any user starts a connection attempt.
  • You will connect one user through OAuth or an app password, because Google treats each mailbox separately.
  • You will understand why an admin sign-in does not copy every mailbox that the administrator can open.
  • You will see how labels behave when the destination stores folders rather than Google labels, since the two models differ.
  • You will fix domain IMAP policy problems and unauthorized_client errors by following the remedies that appear below.



What you need

  • An administrator must enable IMAP for the org under Apps → Google Workspace → Gmail → End user access.
  • Each user signs in with OAuth as that user, or supplies an app password when 2-Step Verification is on.
  • MailMigrata needs the user's primary SMTP address, because the wizard must target a single mailbox at a time.
  • MailMigrata accepts OAuth2, IMAP with an app password, or domain-wide delegation for bulk work, so the wizard matches the credential to the user.
  • The IMAP endpoint is imap.gmail.com:993, and MailMigrata uses that hostname and port for every connection.



Connect in MailMigrata

  1. You first confirm that no organisation-wide policy blocks IMAP, because every later step depends on that protocol.
  2. Next, you open MailMigrata and choose Google Workspace or Gmail as that specific user, since the wizard authenticates one person.
  3. You validate the connection and expect that mailbox's labels, because impersonating a super admin does not copy everything they can open.
  4. For hundreds of users, you talk to sales, since the wizard still handles one mailbox at a time unless MSP tooling is in place.

Each mailbox is a job or a bulk batch, because MailMigrata tracks progress per account rather than per domain. Shared mailboxes and Groups are not a user's Gmail labels, so MailMigrata copies the user's own mail only. Vault and retention holds never block an IMAP read, and those holds also never travel to the destination as Vault data.



What MailMigrata copies

MailMigrata copies IMAP messages, folders that represent labels, and attachments that the destination accepts, because the target format decides what survives. MailMigrata leaves the source untouched unless you choose deletion later, and the user can keep working in mail during the copy. A move to a new host on the same domain raises different questions, so the next page covers that case. See same domain.



Common problems

An admin policy can block IMAP for this domain, and the wizard then fails until the administrator enables it. Someone with admin rights must enable IMAP for the domain, wait for the policy to take effect, and then retry the connection.

The unauthorized_client error appears when the OAuth app or the domain-wide delegation lacks admin consent, because Google requires explicit consent for that grant. You resolve it by granting admin consent or by falling back to app passwords, whichever the organisation allows.

Groups and collaboration content are not a mailbox copy, because MailMigrata migrates only the mail that belongs to a single user. Users' own mail remains the only scope, so a collaboration migration needs its own separate plan.



Wrap-up

When that user's labels list, you pick a destination and start the job, because validation has confirmed the connection. Two related pages cover login failures and other mailbox moves, so you have somewhere to go next. See IMAP login failed and common mailbox migrations.