AegisAI Perspectives · 208
A security checklist for each phase of a move between mail platforms, in either direction, with where each setting lives and why it matters.
AegisAI starts read-only in monitoring mode, and removal needs write access that admins can grant or revoke.
Or get the Q3 2026 State of the AI Attack report (free, instant download)

Both platforms filter mail by default, so keep your current layer through the move and decide after cutover what it still adds.1,2 AegisAI reads mail through the Microsoft 365 or Google Workspace API after delivery, with no change to MX records.3
This page covers moving the mailbox platform itself, in either direction. The licence question is in do you still need a secure email gateway with Microsoft E5. What each edition blocks by default is in Microsoft 365 vs Google Workspace: what each blocks by default. AegisAI's API layer is described on inbound email security.
A tenant is your organization's account on the platform. The MX record is the DNS entry that says where your mail is delivered. TTL is how long other servers keep a DNS record. SPF and DKIM are DNS records that show which servers may send your mail and that a message was signed. DMARC is the policy that tells receivers what to do when neither check passes for your domain. A connector is a Microsoft 365 setting that routes mail to or from another system.
Decide after cutover, with the new tenant's real settings in front of you. Microsoft 365's default threat policies cover every recipient and cannot be turned off.1 Gmail shows warnings and moves untrustworthy mail to the spam folder by default.2
While both systems run, mail reaches two places, DNS records change, and the new tenant starts with its own settings. A layer on the MX record has to move with it. A layer that reads mail by API needs its own grant in the new tenant. Keep your current email security layer until the checklist below is done.
If your mail sits on premises behind a gateway, the gateway holds the MX record. Keep it there through the move, point its outbound route at the new platform, and give the new platform the gateway's IP addresses. Microsoft calls this Enhanced Filtering for Connectors (also known as skip listing),5 and Gmail an inbound gateway.6
If a hosted gateway fronts your current cloud platform, the same two settings apply.
With nothing in front of the platform, the move is DNS records and tenant settings. Moving a gateway to an API layer is a separate project, covered in the gateway to API migration guide.
Microsoft describes three integration options for a non-Microsoft service and says not all are equally supportable.4 Gmail documents one inbound gateway setting.6
| Method (platform's own name) | Where it sits | What the platform documents | Source |
|---|---|---|---|
| Integration via DNS mail routing | In front, on the MX record | Microsoft fully supports this with Enhanced Filtering for Connectors turned on; disable mail flow rules that bypass spam filtering | 4, 5 |
| Integration via the Microsoft Graph API (Microsoft's mailbox data API) | After delivery, in the mailbox | Scans after delivery, can remove messages, and typically needs full access to mailboxes | 4 |
| Integration via in-and-out mail routing | Mail leaves Microsoft 365 and returns | Returning messages count as new; Microsoft strongly recommends avoiding it | 4 |
| Inbound mail gateway (Gmail) | In front, on the MX record | List every gateway public IP; Gmail does not enforce the sender's DMARC policy for this mail | 6 |
An API layer is granted per tenant, through Microsoft admin consent for the whole organization7 or Google domain-wide delegation (an app's access to all users' data) set by a super administrator.8 This page reads both as meaning the new tenant needs its own consent. The deployment models side by side are in cloud-native email security deployment options.
For a move from Google Workspace to Microsoft 365, this page does not restate Microsoft's routing method. Follow Microsoft's current migration guide for that step.
| Step | Why | Where | Source |
|---|---|---|---|
| Lower the TTL on the MX record before cutover day (this page's advice) | Other servers keep the old record until its TTL runs out. Google says to use the registrar default or enter "1", with no unit, so check your DNS host's unit. New MX records can take up to 72 hours to be recognized | DNS host | 9 |
| Merge both platforms into one SPF record | One SPF record per domain. Two records return permerror (a permanent SPF error), and so do more than 10 DNS lookups. Microsoft uses include:spf.protection.outlook.com and Google uses include:_spf.google.com | DNS host | 10, 11, 12 |
| Publish the new platform's DKIM keys before it sends mail | Microsoft uses two CNAME (alias) records that point to the tenant's initial (onmicrosoft.com) domain. Google DKIM can take up to 48 hours to start working. Each platform signs with its own selector (key name), so the old and new keys can sit in DNS together | Defender portal > Email authentication settings > DKIM; Admin console > Apps > Google Workspace > Gmail > Authenticate email | 13, 14, 15 |
| Keep DMARC reports on and the policy unchanged | DMARC passes only when SPF or DKIM aligns with the From domain, and services that modify mail in transit break those checks | DNS host | 16, 17 |
| Write down the old platform's security settings | Google's migration tool for Exchange lists email, calendar and contact data, and names no security settings | Old admin console | 18 |
| Step | Why | Where | Source |
|---|---|---|---|
| Route mail between the two systems | Dual delivery sends each message to Gmail and the legacy system, with either one as the primary server. Split delivery sends incoming mail to one system by recipient and needs the MX record on Google. Gmail routing changes can take up to 24 hours | Admin console > Apps > Google Workspace > Gmail > Routing; Exchange Online connectors and accepted domains | 1, 19, 20, 21 |
| Give the new platform every gateway IP | Otherwise SPF checks the gateway, not the real sender | Defender portal > Email & Collaboration > Policies & Rules > Threat policies > Enhanced filtering; Admin console > Apps > Google Workspace > Gmail > Spam, Phishing and Malware | 5, 6 |
| Assign the Standard or Strict preset policy (Microsoft's ready-made protection settings) | In a new Microsoft tenant, these presets are assigned to no one until turned on | security.microsoft.com/presetSecurityPolicies | 22 |
| Grant consent to any API layer in the new tenant | Consent and delegation are made per tenant by an admin | Entra admin center > Enterprise apps > Permissions; Admin console > Security > Access and data control > API controls > Manage Domain Wide Delegation | 7, 8 |
| Step | Why | Where | Source |
|---|---|---|---|
| Point MX at the new platform or the gateway if it has not moved yet, and delete old MX records | Google says mail might not work correctly with old MX records kept | DNS host; Admin console > Account > Domains > Manage domains | 9 |
| Set where user reports go | Microsoft sends reports to a reporting mailbox you name; Gmail raises a "User-reported phishing" alert | security.microsoft.com/securitysettings/userSubmission; Admin console > Security > Alert center | 23, 24 |
| Step | Why | Where | Source |
|---|---|---|---|
| Check the new tenant against the CISA SCuBA (Secure Cloud Business Applications) baselines | The US Cybersecurity and Infrastructure Security Agency (CISA) publishes secure configuration baselines for Exchange Online and Gmail | ScubaGear (Microsoft 365), ScubaGoggles (Google Workspace) | 25 |
| Move DMARC to p=reject (reject mail that fails) once all senders pass | Both baselines require p=reject and SPF that fails non-approved senders, and recommend DKIM on every domain | DNS host | 26, 27 |
| Disable automatic forwarding to external domains | The Exchange Online baseline requires it; the Gmail baseline recommends it | Policy MS.EXO.1.1 in the Exchange Online baseline; policy GWS.GMAIL.11.1 in the Gmail baseline (each names the setting) | 26, 27 |
| Remove the old platform from SPF | It spends DNS lookups against the limit of 10 | DNS host | 11, 12 |
AegisAI needs no change to mail routing (MX records) and works with your gateway or Defender for Office 365.28 AegisAI connects through each platform's API with an OAuth grant (an app permission) your admin controls and can revoke.30 AegisAI is not in the critical path of mail flow, so if its service or the API connection is unavailable, delivery to mailboxes is unaffected.29 AegisAI starts read-only in monitoring mode, and removal needs write access that admins can grant or revoke.31 On Google Workspace, admins can deploy the AegisAI Report Phishing add-on domain-wide.28 To see AegisAI, book a demo. The connection is explained in API-based email security without an MX change.
AegisAI connects through the Microsoft 365 or Google Workspace API with an OAuth grant your admin controls and can revoke. It needs no MX change and starts read-only in monitoring mode.
Keep your current layer through the move. After cutover, compare what it does with the new licence's defaults. Microsoft states that no number of layers reaches 100 percent protection, and that false positives rise as products are added.
Microsoft documents a gateway in front of Microsoft 365 as one of three integration options, with Enhanced Filtering for Connectors turned on. Whether you keep one depends on what it does that your licence does not. See secure email gateway with Microsoft E5.
A gateway can stay on the MX record during the move if the new platform lists its IPs. Gmail does not enforce the sender's DMARC policy for mail from the gateway. An API layer attaches after delivery instead.
It depends on what the gateway does that your licence does not. The built-in protection preset applies to all users in organizations with any Defender for Office 365 licences. List what your gateway does beyond that before you remove it.
That is a licence question. The seven checks are in do you still need a secure email gateway with Microsoft E5.
Each change can take up to 72 hours to be recognized. If a gateway goes in front later, the new platform must list its IPs or SPF is checked against the gateway.
Yes. Google documents an inbound mail gateway, and API tools connect through domain-wide delegation. See add a third-party email security layer to Google Workspace.