Copy new Gmail into Microsoft 365 with JustForwarding
This article explains how to copy new Gmail messages into Microsoft 365 during a dual-run, while Gmail still receives mail. Existing history needs a separate MailMigrata job.
Limitations
- JustForwarding copies new mail only. It does not copy existing history. For history, use MailMigrata.
- Each pair copies in one direction. The reverse direction (B to A) is a separate pair with its own trial.
- JustForwarding checks the source about every 30 minutes. It is not real-time.
- Gmail labels are not folders. A message with several labels is written as one folder copy. Mapping extra labels separately can create duplicates.
- Microsoft 365 has no mailbox until the account holds an Exchange license. A work or school account is not a personal Outlook.com account.
Prerequisites
- IMAP or OAuth access to Gmail. Use an app password if 2-Step Verification is on.
- A licensed Microsoft 365 mailbox, not an unlicensed directory user.
- A one-way pair from Gmail to Microsoft 365.
Mapping
- Map the Gmail Inbox to the Microsoft 365 Inbox.
- Optionally, map an important label to its own folder.
- Do not map All Mail. It contains every message and duplicates the Inbox.
Keep the map lean: Inbox plus a few labels.
Steps
- License the Microsoft 365 mailbox.
- Connect Gmail. See Connect Gmail.
- Connect Microsoft 365. See Connect Microsoft 365.
- Map folders and start the pair.
- When the dual-run ends and your MX record points to Microsoft, stop the pair. Stopping does not delete messages already copied.
Troubleshooting
- Outlook folder stays empty: The user has no Exchange license. Assign one, then wait one cycle or click Sync now.
- Important Gmail mail is missing: Only the Inbox is mapped. Add the labels you need, but not All Mail.
- You need older mail: Run MailMigrata once into the same Microsoft 365 mailbox, then leave the pair running. Do not add a second continuous pair to the same folders; it duplicates messages.