The “Message body includes” rule in Microsoft Outlook sounds like exactly what you need to filter emails by their content. But it has a critical limitation: it only scans the first portion of the visible text in an email, not the entire message. That means any keyword buried below the opening paragraphs, hidden in a quoted reply, or locked inside an attachment will be completely invisible to the rule. If your Outlook rule is not triggering the way you expect, this is almost certainly why.
In Outlook email rules, the condition “Message body includes…” sounds great but has a lot of limitations.
The “Message body includes…” rule in Outlook.com only checks a limited, front portion of the email’s visible text, not the entire message.
Good move — avoiding body scanning makes Outlook.com rules far more reliable and predictable. Below are practical rule patterns that actually work in the real world.
“Message body includes…” is not a full deep scan of the entire email body.
Here’s an example of a “Message body includes” rule.
From: customerservice@
Message Body includes: “complaint”
This will Pin to top any emails from the customer service team that have the word “complaint” in them.

Parents often get a lot of emails from school, this is a way to be warned of more important messages:
From: headteacher@
Message body includes: either ‘detention’ or ‘expelled’.

What “Message body includes…” does check
This condition works best with just the opening paragraphs of plain text emails.
The “Message body includes…” rule in Outlook scans the visible, text portion of the message body. Even then it is typically limited to the first part of the email, which, while not officially documented, is widely observed to be truncated.
Any alt text linked to images doesn’t appear to be scanned either.
For HTML emails, it is most effective in the top section of the message body.
What it often misses
The Outlook “Message body includes…” rule often misses important information buried deep within the message body, especially if the email is long and the important content isn’t near the top.
Additionally, the rule fails to scan content that is hidden within collapsed threads or quoted replies, so information in previous messages or replies may be overlooked.
Attachments such as PDFs, Word documents, and other file types are never scanned, making it impossible for the rule to identify keywords or phrases contained within them.
Images embedded in emails are not analyzed with optical character recognition (OCR), so any text contained within images is ignored by the rule.
Furthermore, some complex HTML formatting can prevent the rule from properly scanning or matching keywords, leading to missed results.
Practical limits in the real-world
Microsoft doesn’t publish an exact character limit, but testing suggests only the first few KB of body text are reliably evaluated. This applies to both new and classic Outlook.
Think of it as “top-of-message scanning,” not full indexing. In other words “Message body includes …” will NOT find all the content that a regular Outlook search will.
Important quirks
Other things to keep in mind about Outlook rules generally.
Outlook rules use case-insensitive matching, meaning they do not differentiate between uppercase and lowercase letters when searching for keywords or phrases. This makes it easier to catch variations in text, but it also means the rules are quite basic and may miss more complex matches.
The rules don’t have regular expressions or advanced pattern matching, “more’s the pity”. Only straightforward word or phrase matching is available, which limits the flexibility of the rules.
There are several scenarios where Outlook rules can fail. For example, if a keyword is split across HTML tags within the message, the rule might not detect it.
Additionally, unusual encoding in the email can cause the rules to miss keywords entirely, making them less reliable in certain situations.
Reliable alternatives (better conditions)
If accuracy matters, use instead:
- Subject includes (far more reliable)
- From / sender domain
Outlook Email Rules Explained: How to Automatically Sort, Flag and Manage Your Inbox
Which New Outlook Rules Features are Missing (And What That Means for You)
Beyond Outlook Rules: 8 Hidden Features That Manage Your Email Without You Knowing
Hidden Inbox Rules That Let Hackers Spy on Your Microsoft 365 Email
Outlook Focused Inbox Explained: How to Train It, Control It, or Turn It Off
Understanding Outlook (New) for Windows: An Independent Guide
Microsoft Delays Forced New Outlook to March 2027
Why Does Updating Outlook Rules Take So Long?