Book a free 30 minute consultation

The Death of the SEG: Why API-Based Email Security Is the New Standard

Email security gateway scanning for potential threats

For years, Secure Email Gateways (SEGs) have been the default way organisations protect their email.

Products such as Mimecast, Proofpoint and Barracuda sit in front of your email system and inspect messages before they reach the inbox.

They look at things like:

  • sender reputation

  • SPF, DKIM and DMARC authentication

  • domain history

  • known malicious indicators

That worked well when attackers relied on spoofed domains, obvious phishing emails, and suspicious infrastructure.

But attackers have changed.

Modern phishing campaigns often use real accounts from trusted organisations – and that’s where traditional gateways begin to struggle.

The problem with reputation-based email security

Secure Email Gateways rely heavily on reputation and authentication checks.

If an email comes from a legitimate account, the technical signals look perfect.

Which means the gateway has little reason to block it.

The scenario

Your finance team receives an invoice from a supplier you have worked with for years.

The email address is genuine.

The message thread looks familiar.

The domain has an excellent reputation.

Everything appears legitimate.

The SEG logic

The gateway checks:

  • SPF

  • DKIM

  • DMARC

  • domain reputation

All checks pass.

The sender is trusted.

The message is delivered.

The result

The email lands in the inbox with a green light.

The gateway did exactly what it was designed to do.

The problem is that the supplier’s mailbox was compromised.

This is known as a Vendor Email Compromise or Supply Chain Attack – and it is one of the fastest-growing attack methods targeting businesses today.

Why API-based email security changes the game

API-based email security platforms take a very different approach.

Instead of sitting outside the mail system like a gateway, they integrate directly with Microsoft 365 or Google Workspace through the API.

Solutions such as Check Point Harmony Email & Collaboration (Avanan) operate inside the mailbox environment.

That changes what the security system can see – and what it can detect.

Why post-delivery detection isn’t always enough

API-based detection platforms introduced an important improvement.

Because they integrate directly with cloud email platforms like Microsoft 365, they can analyse:

  • historical communication patterns

  • behavioural anomalies

  • account activity signals

However, many of these systems operate on a detect-and-retract model.

A suspicious email may be removed seconds or minutes after delivery.

During that time, the message can still appear in the inbox.

For fast-moving phishing attacks, that short window can be enough.

Stop phishing at the API level (no MX record changes)

Inline API email security takes the next step.

Instead of scanning messages only after delivery, threats are analysed before they reach the inbox, while still integrating directly with the cloud email platform.

This approach allows organisations to:

  • stop phishing at the API level

  • deploy protection without MX record changes

  • analyse behavioural patterns between senders and recipients

  • detect anomalies in supplier communications

Solutions like Check Point Harmony Email & Collaboration (Avanan) use behavioural analysis and historical context to identify suspicious activity.

Rather than trusting the sender domain alone, the platform evaluates whether the behaviour makes sense.

The behavioural layer: Where API security wins

Because an API-based platform sits within the environment, it has access to historical communication data.

It can analyse the relationship between sender and recipient.

Not just the headers.

The scenario revisited

A supplier sends an email asking for an invoice payment to be made to a new bank account.

The message includes a link to a OneNote file.

The Check Point logic

The system recognises:

  • the account is legitimate

  • the domain reputation is good

But something doesn’t add up.

This supplier has never sent a OneNote link before.

Their emails normally contain PDF invoices.

The language and tone are slightly different from their previous messages.

And the request involves changing bank details, which is a known fraud signal.

The result

The email is flagged as suspicious or phishing, even though the technical authentication is perfect.

The platform isn’t just validating the domain.

It is verifying the intent of the message.

The supply chain blind spot

Many organisations assume their email security protects them from phishing, but modern attacks increasingly target trusted relationships.

When a supplier, accountant, or partner is compromised, attackers don’t need to spoof anything.

They simply send messages from the real mailbox.

To a traditional gateway, the email looks legitimate.

To an API-based security platform, the behavioural anomaly is obvious.

Why IT teams are moving to API solutions

More IT managers are beginning to recognise this gap.

Search trends around “HEC vs SEG” reflect a growing awareness that gateway-only protection leaves a blind spot.

Traditional filters are designed to identify fake senders.

Modern attacks often come from real accounts behaving abnormally.

API-based platforms were built specifically to address this shift.

Supply chain protection

Your security is only as strong as the organisations you trust.

If a supplier gets hacked, they are not spoofing their domain, they are emailing you from their real account.

That’s why supply chain protection and vendor compromise detection are becoming critical features in modern email security.

Traditional gateways struggle to see the difference.

API-based systems analyse behaviour, relationships and context.

Which means they can stop vendor-based phishing attacks that others miss.

A better approach to email security

Email remains the most common entry point for cyber attacks.

But the tactics have evolved.

Reputation checks alone are no longer enough.

Organisations need security that can understand how people normally communicate, not just where a message came from.

API-based protection adds that behavioural layer.

And that’s why many organisations are moving beyond the traditional Secure Email Gateway.

Could your email security detect a compromised supplier?

Many businesses rely on Secure Email Gateways that trust authentication signals alone. But modern attacks often come from real accounts that have been taken over.

If a trusted partner’s mailbox was compromised today, would your current email security recognise the behavioural warning signs?

At Black Swan Cyber Security Solutions, we help organisations protect Microsoft 365 environments using modern email security that can:

  • stop phishing at the API level

  • detect vendor email compromise

  • identify behavioural anomalies in trusted communications

  • protect against supply chain phishing attacks

If you’d like to understand whether your current email protection would spot these threats, we’re happy to take a look.

Summary: Secure email gateway vs API-based email security

Email security has evolved from gateway filtering to API detection and finally to inline behavioural protection, (like Check Point), that can stop phishing before it reaches the inbox.

CapabilitySecure Email Gateway (SEG)API Detection PlatformsInline API Email Security
Email inspection locationBefore the mail serverInside the mailbox via APIInside the mailbox via API
MX record changes requiredYesNoNo
When threats are detectedBefore deliveryAfter deliveryBefore inbox delivery
Email visible in inbox firstNoYesNo
Potential dwell timeNonePossibleNone
Behavioural analysisLimitedYesYes
Vendor compromise detectionWeakGoodStrong
Internal email visibilityLimitedYesYes
Threat remediationBlock before inboxRetract after deliveryBlock before inbox
Collaboration platform protectionOften requires separate toolsVaries by vendorIntegrated protection
Key takeaways
  • ✓ Secure Email Gateways rely primarily on sender reputation and authentication signals such as SPF, DKIM and DMARC.
  • ✓ Modern phishing attacks often come from legitimate accounts that have been compromised, including suppliers or partners.
  • ✓ API-based email security platforms analyse behavioural patterns and communication history within Microsoft 365 or Google Workspace.
  • ✓ Some API solutions detect threats after delivery and remove them from the inbox, which can create a short dwell time window.
  • ✓ Inline API security can stop phishing at the API level without MX record changes, blocking malicious emails before they reach the inbox.
  • ✓ Behavioural analysis helps identify vendor email compromise and supply chain attacks that traditional gateways may miss.
Kevin Walker, Founder of Black Swan Cyber Security Solutions

Written by: Kevin Walker

Founder, Black Swan Cyber Security Solutions

Based in Chesterfield, Kevin has over 20 years’ experience helping schools, care providers and small businesses meet DfE and Cyber Essentials standards. He’s passionate about calm, compliance-led cyber security and supporting local communities across Derbyshire and South Yorkshire.

View LinkedIn Profile ↗

Recent Posts

Stay Ahead of Cyber Threats - Subscribe to the Black Swan Cyber Security Newsletter

Protect your business with the latest cyber threat insights and practical data protection tips. Subscribe for expert advice tailored to small businesses, covering password security, ransomware prevention, and cyber compliance.

Stay connected with Black Swan Cyber Security Solutions and keep your company ahead in the fight against cybercrime.