By NHI Mgmt Group Editorial TeamBased on Abnormal AI: “How Email Security Architecture Shapes Detection and Response” (October 31, 2025)

TL;DR: Email security remains a high-risk identity problem, with the FBI reporting $2.8 billion in business email compromise losses in 2024 and API-based models detecting 665 advanced threats monthly that SEGs miss, according to Abnormal AI. The governance shift is from inbox filtering to behavioural visibility, because attack paths increasingly exploit compromised accounts and internal mail flows.


At a glance

What this is: This is an analysis of why email security architecture is shifting away from SEG-era, inbox-only visibility toward behavioral and identity-aware detection across internal and external mail flow.

Why it matters: It matters because email remains a primary identity attack surface, and IAM teams need controls that see compromised accounts, delegated access, and mailbox abuse instead of only inbound message content.

By the numbers:

  • The FBI reported $2.8 billion in business email compromise losses in 2024.
  • Pure API models detect 665 advanced threats monthly that secure email gateways miss.

Context

Email security architecture is no longer just a message-filtering problem. The primary governance gap is visibility: secure email gateways inspect inbound mail well, but they often miss the internal-to-internal activity where compromised accounts, impersonation, and lateral abuse show up.

For identity and access teams, that changes the control objective. The question is no longer only which messages are malicious, but which identities are acting in suspicious ways across mailbox, tenant, and vendor communication patterns.

Abnormal AI frames the shift around API-first analysis, but the larger point is architectural: detection that lacks behavioural and historical context cannot reliably separate routine mail from identity-driven abuse.


Key questions

Q: What breaks when email security does not inspect the full mail flow?

A: When full mail flow inspection is missing, security teams lose visibility before the threat reaches the inbox. That creates blind spots for telemetry, policy enforcement, and later investigation. The result is weaker evidence, slower containment, and a tendency to mistake bypassed mail for missed detection rather than uninspected delivery.

Q: Why do compromised mailboxes remain hard to detect with traditional gateways?

A: Because gateways judge messages by content and reputation rather than by account behaviour. When an attacker uses a legitimate mailbox, the mail can appear routine even while the identity behind it is compromised, which lowers the gateway’s ability to distinguish abuse from normal business traffic.

Q: What are the signs that an email security stack lacks behavioural context?

A: Frequent dependence on static rules, heavy manual tuning, and poor visibility into internal threads are strong signs. If a platform struggles with impersonation, vendor compromise, or reply-chain abuse, it likely cannot correlate identity, history, and communication patterns well enough to detect modern threats.

Q: How should security teams respond when email controls create routing complexity without better detection?

A: They should treat the problem as an architecture trade-off, not a feature gap. If extra inline layers add latency, troubleshooting, or duplication without improving visibility into identity behaviour, the stack needs redesign rather than another connector or rule set.


Technical breakdown

Why SEG-era visibility misses internal identity abuse

Secure email gateways were built to inspect inbound messages before delivery, using content cues such as sender reputation, headers, URLs, and attachments. That design is effective for spam and known malicious payloads, but it leaves a structural blind spot inside the tenant, where compromised accounts often send normal-looking mail to trusted recipients. Because the control logic is centred on message content rather than account behaviour, it struggles when the abuse is identity-driven, low-volume, or payload-less. In practice, the blind spot is not a tuning problem. It is an architectural boundary between external filtering and internal behavioural context.

Practical implication: Treat SEG coverage as baseline hygiene, not full abuse detection, and add controls that observe mailbox behaviour inside the tenant.

How inline APIs change the control plane

Inline API approaches extend inspection into the cloud mail path, but they still operate during delivery and inherit routing dependencies. That means they can block known threats pre-delivery, yet they remain constrained by fixed logic, connector complexity, and the risk of latency or mail-flow disruption. In identity terms, inline models improve the position of the control but not necessarily its intelligence. They can still miss subtle impersonation or relationship-based abuse if verdicts depend on static rules rather than broader behavioural context. The architectural trade-off is speed versus depth, not simply old versus new.

Practical implication: Validate whether inline integrations create routing fragility or duplicate controls already present in Microsoft 365 or Google Workspace.

Why pure API detection is built for mailbox behaviour

Pure API architectures sit outside the mail flow and analyse mailbox activity asynchronously with identity, behavioural, and historical context. That allows the detection model to consider who is sending, how they normally communicate, and whether a message fits known patterns for impersonation or account takeover. The key difference is not just that the scan happens after delivery. It is that the control can correlate mailbox events with relationship graphs and user history before deciding on remediation. For modern email abuse, that context often determines whether the threat is visible at all.

Practical implication: Use asynchronous mailbox analysis when the goal is to detect identity-based email abuse that content filters and transport controls routinely miss.


Threat narrative

Attacker objective: The attacker wants to exploit trusted email relationships to commit fraud, impersonation, or account-driven abuse without triggering perimeter-style filtering.

  1. Entry occurs when attackers gain access to a legitimate mailbox or impersonate a trusted sender, so the message originates inside normal communication paths rather than from obvious external spam infrastructure.
  2. Credential access or account misuse then enables the attacker to operate through trusted mail relationships, which reduces the value of content-only filtering and sender reputation checks.
  3. Escalation happens as the attacker moves from a single compromised mailbox to broader trust abuse, including internal threads, vendor conversations, and reply-chain manipulation.
  4. Impact is achieved through business email compromise, fraud, or other malicious messaging that leverages organisational trust rather than payload-heavy malware.

Read and download The State of NHI & AI Agent Breach Report 2026, covering 200+ breaches impacting Non-Human Identities including AI Agents.


NHI Mgmt Group analysis

Email security architecture is now an identity visibility problem, not just a filtering problem. The old gateway model assumes the dangerous message is the one that arrives from outside the organisation. That assumption fails when the compromised identity is already inside the tenant and communicates through normal business threads. The practitioner implication is that control design must move from message inspection alone to mailbox and identity behaviour.

SEG-era visibility is a governance gap, not a tuning gap. SEGs can be configured, tuned, and layered, but they still inherit a narrow inspection surface. That means they remain strongest on hygiene and weakest on context-rich abuse such as impersonation, vendor compromise, and internal reply-chain manipulation. The practitioner implication is that teams should stop treating the gateway as the full detection plane.

Behavioural and historical context is the decisive control variable for modern email abuse. When a mailbox event can be evaluated against user history, peer communication patterns, and tenant relationships, detection improves materially. That is the real shift behind API-first email security. The practitioner implication is that identity context should be a design requirement, not a luxury feature.

Mailbox abuse is becoming a cross-domain identity issue. Email compromise now intersects IAM, fraud detection, and security operations because the attacker is exploiting trust relationships, not only message content. That makes email security a governance concern for identity architects as much as for messaging teams. The practitioner implication is to align email controls with identity risk monitoring, not with mail hygiene alone.

What this signals

Email security now depends on mailbox intelligence: controls that only see inbound mail cannot reliably govern compromised identities operating inside trusted conversations. Security teams should evaluate whether their detection plane observes communication behaviour, not just message content, because that is where modern business email compromise hides.

Behavioural analysis changes the operating model for email defence. Instead of asking only whether a message is malicious, practitioners need to ask whether the sending identity, relationship graph, and historical pattern fit the tenant’s normal state.

Architectures that work outside the mail flow can reduce operational friction, but the real value is governance depth. For identity programmes, the relevant question is whether email controls can surface suspicious account activity fast enough to trigger IAM-led containment.


For practitioners

  • Map your current mail controls by visibility layer Document which controls inspect inbound content, which observe internal mailbox behaviour, and which can remediate after delivery. The goal is to expose where compromised-account activity can pass without behavioural review.
  • Test for internal-to-internal blind spots Use benign simulations and historical incident review to identify whether trusted reply chains, vendor threads, and mailbox-to-mailbox abuse are visible to your current stack.
  • Evaluate mailbox context before adding more inline tooling Check whether an additional inline layer would duplicate existing transport controls or create routing fragility without materially improving identity-aware detection.
  • Align email response with identity risk workflows Ensure suspected mailbox compromise triggers identity investigation, session review, and access revocation steps, not only message quarantine and user notification.

Key takeaways

  • Email security gaps increasingly come from limited identity visibility rather than weak spam filtering.
  • The article points to a scale problem with business email compromise and a coverage problem where internal mail activity remains under-monitored.
  • Practitioners should assess email controls by how well they see identity behaviour across mailbox context, not by inbox filtering alone.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Non-Human Identity Top 10, MITRE ATT&CK and OWASP API Security Top 10 address the attack and risk surface, while NIST CSF 2.0 sets the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Non-Human Identity Top 10NHI-10 — Human Use of NHICompromised mailboxes and trusted account misuse are identity abuse patterns inside the tenant.
NHI-05 — Overprivileged NHIMailbox and delegated access often becomes over-broad when controls fail to reflect actual trust boundaries.
Recommendation — Review email-linked accounts for misuse patterns and restrict human-operated access paths that amplify mailbox abuse. Reduce mailbox and delegated access scope to the minimum required for each role and integration.
NIST CSF 2.0PR.AA-05 — Access Permissions, Entitlements and AuthorizationsEmail compromise frequently succeeds when account permissions and mailbox access exceed need.
Recommendation — Reassess email account entitlements to remove excessive access that enables internal abuse and lateral messaging.
MITRE ATT&CKTA0006;TA0008 — Credential Access; Lateral MovementThe article’s threat model centres on compromised accounts and movement through trusted communication paths.
Recommendation — Map mailbox compromise and trusted-thread abuse to credential access and lateral movement detections.
OWASP API Security Top 10API2 — Broken AuthenticationCloud-mail API detection still depends on correct platform authentication and trustworthy mailbox access.
Recommendation — Validate API authentication and platform trust boundaries before relying on mailbox-level automated remediation.

Key terms

  • Behavioural email detection: A detection approach that looks for patterns in sender behaviour, message timing, language change, and downstream user interaction rather than relying only on signatures. It is designed to catch attacks that mutate quickly. For identity programmes, its value is in finding the moment an email becomes an access risk.
  • Secure Email Gateway: A secure email gateway is a control layer that inspects email before it reaches users and can also inspect outbound mail. It filters malicious content, enforces policy, and reduces exposure to phishing, malware, and data leakage, but it does not replace identity governance or account monitoring.
  • Pure API Email Architecture: An asynchronous email security model that connects to cloud mail platforms through native APIs and analyses mailbox activity outside the mail flow. The design can use behavioural and historical context to detect abuse after delivery, which changes the trade-off from routing speed to detection depth.
  • Business email compromise: A form of social engineering where an attacker impersonates a trusted person or domain to manipulate payment, change banking details, or extract sensitive information. It often succeeds without malware because the attacker targets process trust and human judgement instead of technical controls.

Deepen your knowledge

NHI governance, agentic AI identity, and machine identity lifecycle are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are responsible for identity security strategy or NHI governance in your organisation, it is worth exploring.
NHIMG Editorial Note
Published by the NHIMG editorial team on June 27, 2026.
Updated on October 8, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org