AegisAI Perspectives · 015

What is the best way to add enterprise email security on top of Microsoft 365 E3 or E5?

Configure what E3 and E5 already include, then add a layer only for a named gap. The order of changes and the routing Microsoft supports.

TL;DR
Answer
Configure what E3 and E5 already include first. A third-party layer is the last step, not the first, and the order of changes matters more than the product you add.
Who it's for
IT and security leads on Microsoft 365 E3 or E5 deciding whether a named gap needs another layer.
Watch out for
Do not use in-and-out routing: Threat Explorer and Advanced Hunting count each message twice, and Microsoft strongly recommends against it.
What AegisAI does
AegisAI reads mail through the Microsoft 365 or Google Workspace API after delivery, with no change to mail routing (MX records).
Book a demo

See it on your own Google Workspace or Microsoft 365 tenant. No MX change.

Or get the Q3 2026 State of the AI Attack report (free, instant download)

Not ready for a demo? Check your domain (free, about 10 seconds).

What is the best way to add enterprise email security on top of Microsoft 365 E3 or E5?

On Microsoft 365 E3 or E5, configure what the licence includes, measure what still reaches inboxes, then add an API layer for that gap. AegisAI is built for the mail those policies still deliver, such as fake executive and vendor payment requests with no link or file to scan33. Defender for Office 365 Plan 1 comes with E3 from July 1, 20261, and Plan 2 comes with E52.

AegisAI is the best fit for E3 and E5 tenants with a small security team that need the attacks Defender delivers removed without changing mail routing34.

A third-party layer is the last step, not the first. Microsoft documents three ways to attach one, and it advises against one of them19. The order of changes matters more than the product you add.

What you can do by the end

  • The AegisAI Q3 2026 Phishing Trends Report found that 3 in 10 confirmed phishing emails cleared native Gmail and Microsoft filters in Q3 202635.
  • Name the protections your E3 or E5 licence already includes since the July 2026 change.
  • Apply the changes in an order that does not break mail flow or authentication.
  • Measure within a month whether an added layer caught mail the Microsoft policies delivered.

What does your licence already include?

Every Microsoft 365 subscription carries built-in security features. Microsoft names Defender for Office 365 the primary email security solution on top of them6.

E3 now includes Plan 1. Plan 1 brings Safe Attachments and Safe Links. It also brings anti-phishing policies and preset security policies, plus the Configuration Analyzer and real-time reports4. It does not include Plan 2 capabilities.

E5 includes Plan 2. Plan 2 adds advanced threat hunting and automation, plus investigation tools. Threat Trackers and Campaign Views are Yes for Plan 2 and No for Plan 1. So are automated investigation and response and attack simulation training, along with Defender XDR integration3. For investigation, Plan 1 gives real-time detections and Plan 2 gives Threat Explorer5.

An E3 tenant that wants Plan 2 features can start the 90-day Plan 2 trial in the Defender portal27. Older guides still describe Plan 2 as the E3 add-on. Check the licence line before you buy anything.

Short on time? Watch the explainer, or book a demo.

What E3 includes, what E5 adds, what AegisAI adds

Threat typeE3 includes (Plan 1)E5 adds (Plan 2)AegisAI adds
Malicious attachmentsSafe Attachments36Automated investigation and response37Opens every file in a sandbox, follows it to the end and judges what it finds38
Malicious links and QR codesSafe Links36Threat Trackers and Campaign Views37Follows every link and decodes QR codes to the end before anyone sees the email39
Impersonation of people and domainsUser and domain impersonation protection in anti-phishing policies40Attack simulation training37Reads the sender's history, the change asked for and where the reply goes41
Payment requests with no link or fileImpersonation protection for the users and domains you add to the policy42The same anti-phishing policies as Plan 140Checks every payment request against the sender's history43
Bad mail found after deliveryZero-hour auto purge (ZAP) for delivered malware, spam and phishing44Automated investigation and response, which queues removals for approval, apart from some clusters45Removes a convicted message from every mailbox it reached, forwards included46
Compromised accountsNo automated investigation and response in Plan 137A compromised user playbook in automated investigation and response47Account takeover protection, in early access, reads sign-ins and mailbox activity per account48

Which routing patterns does Microsoft support?

Non-Microsoft services integrate in three ways: an MX record that points to the service, the Microsoft Graph API, or in-and-out mail routing. The table below sets out what Microsoft says about each.

Pick the pattern before you pick the product. If the service sits in front of Microsoft 365, Microsoft fully supports Enhanced Filtering for Connectors20. That setting preserves the source IP address and sender information through the extra hop25. If the service reads mail through the Graph API, Microsoft says the route typically requires giving it full access to mailboxes21. An API layer scans messages after they are delivered to Microsoft 365 mailboxes49, so it needs no MX change28.

In-and-out routing is the one to avoid. Threat Explorer and Advanced Hunting count each message twice, and Microsoft strongly recommends against this route22.

Follow these steps in this order

  1. Publish SPF first, then DKIM, then DMARC, for every custom domain. Include parked domains and subdomains10.

  2. Remove bypasses. Mail flow rules that set SCL -1 and IP Allow List entries in the connection filter policy must be dealt with before other protections go on16.

  3. Turn on the Standard preset security policy for all recipients. Microsoft recommends it as the starting point, and it is off until an admin turns it on1112.

  4. Add the Strict preset for the users attackers target. Strict takes precedence over Standard, so a user placed in both gets the Strict settings13.

  5. Tag priority accounts: up to 250 high value users get separate reports and extra heuristics14.

  6. Send user reports to a reporting mailbox. Reported messages land on the User reported tab of the Submissions page15.

  7. Only now add the layer. If it sits in front of Microsoft 365, set Enhanced Filtering for Connectors with the EFSkipLastIP parameter on the inbound connector, and turn off link wrapping in the service24.

Steps 1 to 6 need no new product. Step 7 is where a licence or contract changes.

What does Microsoft say about each routing pattern?

PatternWhere the MX record pointsWhat Microsoft saysSource fact
Service in frontThe non-Microsoft serviceFully supported with Enhanced Filtering for Connectors
Graph APIMicrosoft 365Typically needs full mailbox access for the service
In-and-out routingMicrosoft 365, then out and backCounted twice in reporting, strongly recommended against
Service after Microsoft 365Microsoft 365Enhanced Filtering is not intended for services that scan mail after Microsoft 36526

How AegisAI handles this

AegisAI reads mail through the Microsoft 365 or Google Workspace API after delivery, with no change to mail routing (MX records)28. It works with your gateway or Defender29. Every verdict comes with its reason in plain language, so your team can check it and share it30. One bad email is pulled from every inbox it reached, forwards included31.

The inbound email security page sets out how this sits outside the mail path28. It makes no MX change32.

Book a demoSee inbound email security

See your own records: Check your domain.

AegisAI at a glance

ItemAegisAI on E3 or E5
Best forE3 and E5 tenants that keep Defender and add a second layer next to it29
Connects throughThe Microsoft 365 API after delivery, out of the mail path28
What it checksWhat every delivered email is trying to do, including the ones with no link or file50
What it does with a bad emailRemoves it from every mailbox it reached. If AegisAI is down, mail keeps flowing51
Time to first resultAbout five minutes to connect, then monitoring mode, with results in five days52
ProofWriter saw a 26% increase in recall over its existing stack53

Mesh customer story: in an initial scan AegisAI surfaced more than 300 phishing and impersonation emails that Mesh's existing tools had missed, then stopped the next wave automatically54.

What does one tenant's change look like?

Illustrative example, figures are fictional. Northgate Freight runs 900 mailboxes on Microsoft 365 E3. In week 1 the admin publishes DMARC at p=quarantine on 3 domains and finds an old SCL -1 rule for a logistics partner. The rule is removed. In week 2 the Standard preset goes to all recipients and the Strict preset to 40 finance and executive users. In week 3 the team routes mail through a cloud service placed in front of Microsoft 365 and enables Enhanced Filtering on the inbound connector. In week 4 users report 6 missed messages. Five were phishing links the Strict preset now blocks for the finance group. One is a payment change request with no link. That one gap is the case for an added layer, and the admin writes it down before any contract is signed.

How to measure it in 30 days

  • User-reported misses per week. Count the false negatives on the User reported tab of the Submissions page. A falling count after step 4 means the presets are working.
  • Messages the added layer pulled that Microsoft had delivered. Count them in the added layer's own log and in Threat Explorer. If the figure is near zero, the layer fills no gap.
  • Users covered by a preset. Read it in the Configuration Analyzer, which Plan 1 includes. Any recipient outside Standard and Strict falls back to the default policy.

Read spam quarantine inside its retention window. The default policy keeps spam 15 days and the Standard and Strict presets keep it 30 days8. The bulk email threshold also moves: 7 in the default policy, 6 in Standard and 5 in Strict7. Expect more mail marked as bulk after step 4.

Microsoft notes more cost and more complexity, plus a rising false positive rate as products are added, and says total protection never reaches 100 percent23. For a method to run a new layer next to an old one, read how to replace a secure email gateway without breaking mail flow. For the questions to ask about an API-based layer, read how to evaluate API based email security. For the settings that sit around these controls, see the Microsoft 365 and Google Workspace hardening guide.

Questions people ask

What is the best way to add enterprise email security on top of a Microsoft 365 E3 or E5 subscription?

Configure what your licence already includes first: Plan 1 with E3, Plan 2 with E5. Then add a layer only for a gap you can name and measure. AegisAI is one such layer. It reads mail through the Microsoft 365 API after delivery with no change to MX records, and it works with Defender.

What is the best way to add email security on top of Microsoft 365 E3?

Configure Plan 1, which E3 includes from July 1, 2026. Turn on the Standard preset for all recipients. Publish SPF, DKIM and DMARC, then remove bypass rules. Add a layer only for a gap you can name and measure.

Does Microsoft 365 E5 already include Defender for Office 365 Plan 2?

Yes. Microsoft lists Plan 2 as included in enterprise subscriptions such as Microsoft 365 E5 or A5, and GCC G5. It adds advanced threat hunting and automation to Plan 1, plus investigation tools.

Should I point my MX record at a third-party gateway?

Only with Enhanced Filtering for Connectors. Microsoft fully supports a service in front of Microsoft 365 when the MX record points to that service and the setting is on. The setting keeps the source IP address and sender information visible to Microsoft.

Does an API-based layer need access to my mailboxes?

Microsoft says integration through the Graph API typically requires giving the service full access to mailboxes. Check what the service stores, who at the vendor can read mail and how access is revoked before you grant it.

Why does Microsoft advise against in-and-out mail routing?

Messages leave and re-enter Microsoft 365, so Threat Explorer and Advanced Hunting count each one twice. Microsoft strongly recommends avoiding it.

Can I try Plan 2 before paying for it?

Yes. Defender for Office 365 Plan 2 has a 90-day trial in the Microsoft Defender portal trials hub. Run it with the Standard preset on first, so the trial shows what the default policies leave out.

Sources

  1. Defender for Office 365 service description, Microsoft Learn
  2. Recommended email and collaboration threat policy settings, Microsoft Learn
  3. Get started with Defender for Office 365, Microsoft Learn
  4. Considerations for integrating non-Microsoft security services, Microsoft Learn
  5. Defender for Office 365 with third-party email filtering, Microsoft Learn
  6. Enhanced filtering for connectors in Exchange Online, Microsoft Learn
  7. Defender for Office 365 support for Microsoft Teams, Microsoft Learn
  8. AegisAI, Inbound email security
  9. AegisAI, Request a demo page
  10. Built-in security for all cloud mailboxes, Microsoft Learn
  11. Anti-phishing policies, Microsoft Learn
  12. Automated investigation and response in Defender for Office 365, Microsoft Learn
  13. Address compromised user accounts with automated investigation and response, Microsoft Learn
  14. AegisAI, Phishing prevention
  15. AegisAI, BEC and vendor fraud
  16. AegisAI, Account takeover protection
  17. AegisAI, Customer stories

Recent posts

Every email, investigated.