top of page

E2F: Get Outlook Spam Confidence

Leverage the Get Outlook Spam Confidence apex action to evaluate an Outlook email message for spam.

Inputs

Email Header

The email header string

Outputs

Spam Confidence Level

see below

Spam Confidence Level Definition

see below

Spam Confidence Level Category

see below

Bulk Compliance Level

see below

Bulk Compliance Level Definition

see below

isSuccess

Set to True if the apex action was successful.  Set to False if an error was encountered.

Error Message

If status is “Fail”, the message of the error encountered

What is Junk email?

Junk email is spam. Yes, this is an extremely basic definition. But for our needs, spam/junk email is typically defined as unsolicited and universally unwanted messages.

What is Bulk email?

​Bulk email (or gray mail) is email generated in bulk. In other words, a mailer generates the same or similar content to a large number of recipients. Unlike spam email, bulk email may be good or bad (and many shades in between). Bulk email might be "good", such as a vendor sending coupon codes to individuals that have subscribed to a service. Bulk email might be "bad", such as a vendor selling a high volume of unsolicited content.

What is Microsoft 365 Exchange Online Protection?

In Microsoft 365 organizations with mailboxes in Exchange Online or standalone Exchange Online Protection (EOP) organizations without Exchange Online mailboxes, inbound messages go through spam filtering in EOP and are assigned a spam score(s).

The specific EOP scores we will be discussing today are Spam Confidence Level (SCL) and Bulk Complaint Level (BCL)

What is Spam Confidence Level (SCL)?

The EOP filtering process assigns emails a SCL score. The higher the score, the more likely an email is spam. The scores break down as follows:

Spam Confidence Level

Definition

-1

The message skipped spam filtering. The email is from a safe sender.

0, 1

Spam filtering determined the message wasn't spam.

5, 6

Spam filtering marked the message as Spam

7, 8, 9

Spam filtering marked the message as High confidence spam

What is Bulk Complaint Level (BCL)?

The EOP filtering process assigns email a BCL score. The higher the score, the more likely the email has or will generated complaints. The higher the likelihood of complaints, the more likely the email is spam.

0

The message isn't from a bulk sender.

1, 2, 3

The message is from a bulk sender that generates few complaints.

4, 5, 6, 7

The message is from a bulk sender that generates a mixed number of complaints.

8, 9

The message is from a bulk sender that generates a high number of complaints.

Now that we have a working set of definitions, what does this all mean for Email-to-Flow?

Good question. Email-to-Flow has a special apex action, Get Outlook Spam Confidence, to retrieve an email's SCL and BCL scores (assuming it was processed by EOP). These scores can be leveraged to implement your own spam processing logic.

bottom of page