AegisAI Perspectives · 084
The best email security for a SaaS company judges what each email asks for, catches the lures aimed at developers and removes bad mail after delivery.

The best email security for a SaaS company judges what each email asks for, because the lures that reach SaaS teams come from real platforms with SPF and DKIM passing20. AegisAI reads mail through the Microsoft 365 or Google Workspace API after delivery, with no change to mail routing (MX records)14.
At an AI company, one credential that matters is an API key for a sending platform; a Workspace mailbox and the approval behind an invoice matter too21. Third-party involvement in breaches has doubled to 30%9, and every integration a SaaS company ships or buys is one more third party.
One compromise began with an email asking an open source maintainer to update his two-factor authentication credentials8. After that account was taken, malicious versions of at least 18 widely used npm packages were uploaded to the registry. Those packages have over 2 billion weekly downloads.
Since October 2024, one group has used social engineering, in particular voice phishing, to get into organizations' Salesforce accounts2. Authorizing a malicious connected app bypasses many traditional defenses such as MFA, password resets and login monitoring. A second group exploited compromised OAuth tokens for an AI chatbot app integrated with Salesforce.
LangChain saw fake emails impersonating CEO Harrison Chase asking for gift cards24. It also saw fraudulent contract attachments and spear phishing aimed at engineers with production system access. Business email compromise losses reported to the FBI reached $3,046,598,558 in 20251.
At Writer, one lure aimed at a developer was a sending platform API alert with SPF and DKIM passing, linking to a sign-in clone first seen the day it was used.
Sender checks prove where a message came from. A DMARC policy of reject tells receivers to refuse mail that fails the DMARC check13. A lure sent through a genuine platform, or from a hijacked vendor mailbox, passes that check.
Eric Freeman, CISO at Writer, described the trade on the Writer customer page: "I was tired of choosing which way to be wrong."22
On Google Workspace or Microsoft 365, an API connection keeps mail flow as it is and lets a trial run beside the current stack.
A verdict only helps if the message leaves every inbox it reached, including invites that land on calendars16.
Each verdict should name the signal that decided it17.
In Microsoft Entra ID, open the user consent settings. By default, all users can consent to applications for permissions that do not require administrator consent10.
Allow user consent only for apps from a verified publisher, as Microsoft recommends.
In Google Workspace, set each app's access to Trusted, Limited, Specific Google data, or Blocked12.
Review every third-party integration and, for each application, rotate its keys and tokens, as the FBI advises5.
Repeat the review before any product trial, so the trial starts from a clean list.
| Criterion | API-based | Gateway | Built-in platform controls | Managed service |
|---|---|---|---|---|
| Lure from a genuine platform | Reads what the message asks for | Sender checks pass | Sender checks pass | Depends on the tools the provider runs |
| OAuth consent and app grants | Reads the mail that asks for the grant | Sees the message once | Consent settings per app | Depends on the access you grant |
| Removal after delivery | Removes from mailboxes over the API | Holds mail before delivery | Admin search and purge | Depends on the access you grant |
| Mail routing | No MX change | MX record change | Inside the mail platform | Set by the tools the provider runs |
| Rules to write | Ask the provider | Ask the provider | Policy settings | Run by the provider |
Illustrative example, figures are fictional. A backend engineer at a 120-person SaaS company gets an email from a real code hosting platform. The link leads to a copy of the sign-in page on a domain registered that morning. SPF and DKIM pass.
The Google Workspace guide and the page on BEC protection for Microsoft 365 cover the platform side in more depth.
AegisAI reads mail through the Microsoft 365 or Google Workspace API after delivery, with no change to mail routing (MX records). It starts read-only and runs in monitoring mode first; removal needs write access your admin grants and can revoke15. The median verdict takes 1.9 seconds, and a convicted message is removed from every mailbox it reached within seconds. Every verdict comes with its reason in plain language, so your team can check it and share it.
Two SaaS customers tell their stories on the customers page.
In its first week connected to AegisAI, Writer found more than 69 malicious emails sitting in employee inboxes with no configuration or threat hunting by the team. Its results table lists a +26% increase in recall over its existing stack. The full story is on the Writer customer page.
Ryan, LangChain's Head of IT, set it up in under five minutes, and the team did not write a single rule23.
Track three numbers. The first is malicious emails found in inboxes in week one: in its first week, Writer found more than 69 malicious emails sitting in employee inboxes. The second is recall against your current stack: Writer reports a +26% increase in recall over its existing stack. The third is minutes from sign-up to protection: Ryan, LangChain's Head of IT, set it up in under five minutes, and the team did not write a single rule.
Questions to ask a provider on the trial call:
The guide on how to evaluate email security vendors lists more trial questions. See your results in five days: connect a tenant, run AegisAI in monitoring mode, and compare it with what your current stack delivered25. The full Writer and LangChain stories are on the customers page.
At Writer, a developer got an API alert with SPF and DKIM passing that linked to a sign-in clone. Business email compromise losses reported to the FBI reached $3,046,598,558 in 2025.
No. A reject policy tells receivers to refuse mail that fails the DMARC check.
Microsoft recommends allowing user consent only for apps from a verified publisher. In Google Workspace, set each app to Trusted, Limited, Specific Google data, or Blocked.
On Google Workspace or Microsoft 365, an API connection keeps mail routing as it is and needs no MX change.
LangChain's Head of IT set it up in under five minutes.