Outlook Auto Flag Email by Attachment? How-To
In this article
Yes, Microsoft Outlook can automatically flag emails that contain attachments, but not with a single built-in toggle. You achieve this by creating a rule that flags any incoming message with an attachment, and you can optionally assign a due date and a reminder. This article explains the exact steps, the limitations, and the alternatives so you can pick the method that fits how you work.
How Outlook Rules Flag Attachments
Outlook’s Rules feature scans messages as they arrive (or when you run the rule manually) and can apply a series of actions. One of those actions is “flag message for follow up,” which marks the item with a colored flag in the message list and can add a due date and reminder. The condition that matches attachments is “with attachment” — it appears in the conditions list as “which has attachment” in older versions, and simply “with attachment” in newer ones.
When you combine the condition with the flag action, Outlook will automatically flag every new message that has any file attached, whether it’s a PDF, image, or document. The rule runs on the client (desktop app) or on the server (if you use Exchange Online), depending on where you create it and your account type.
How to Create the Rule (Step-by-Step)
The steps are nearly identical across Outlook 2016, 2019, 2021, and Microsoft 365 desktop versions. For Outlook on the web (OWA), the process differs slightly.
- Open Outlook and go to the Home tab.
- Click Rules in the Move group, then select Manage Rules & Alerts.
- Click New Rule.
- In the “Start from a blank rule” section, choose Apply rule on messages I receive and click Next.
- In the conditions list, check with attachment. You can add other conditions like “from specific people” if you only want to flag attachments from certain senders.
- Click Next.
- In the actions list, check flag message for follow up. A link appears in the bottom “Edit the rule description” box — click that link to set the flag text, due date, and reminder.
- Choose a flag color (e.g., red), set a due date like “today” or “next week,” and optionally set a reminder.
- Click OK, then Next.
- Review the exceptions. If you don’t want to flag messages from yourself or from a specific folder, add those exceptions now.
- Give the rule a name, check “Run this rule now on messages already in the current folder” if you want to flag existing messages, and click Finish.
For Outlook on the web, go to Settings (gear icon) > Mail > Rules > Add new rule. Select “Apply to all messages” or “From” as the condition, then choose “Has attachment” as the specific condition. Add the action “Flag message” and set the flag details.
What the Flag Actually Does
When a rule flags a message, it appears in the message list with a colored flag icon. The default flag is red with no due date, but you can set a custom flag with a due date and reminder. The flagged message also appears in the To-Do Bar (if you have it enabled) and in the Tasks view under “Flagged Mail.”
One important nuance: the flag is a visual marker and a task item, not a separate copy of the email. If you delete the original message, the flag disappears. If you mark the flag complete, the message stays in your inbox but the flag icon changes to a checkmark.
Common Problems and Workarounds
- Rule doesn’t run on existing messages: Rules only apply to new messages unless you explicitly check “Run this rule now” during setup. To flag old messages, run the rule manually from the Rules menu.
- Flag doesn’t appear on mobile: The flag set by a rule may not sync to the Outlook mobile app if you’re using a POP or IMAP account. For Exchange or Microsoft 365 accounts, flags sync via the server.
- Rule flags all attachments, including inline images: Outlook treats inline images (like a signature logo) as attachments. If your rule flags everything, you may get false positives. You cannot easily distinguish inline images from real attachments in a rule condition.
- Flag due date is relative to “today” at the time the rule runs: If you set a due date of “today,” it will be today’s date when the message arrives, not a rolling date. If you want a fixed number of days from arrival, you cannot do that with the built-in rule; you would need a custom script or a third-party add-in.
Alternatives to Rules for Flagging Attachments
If the built-in rule doesn’t meet your needs, consider these options:
- Search folder: Create a search folder that shows all messages with attachments. This doesn’t flag them, but it gives you a single view of every attachment-bearing email.
- Quick Steps: Create a Quick Step that flags a message and moves it to a folder. You can apply it manually with one click when you want to flag a specific message.
- VBA macro: For advanced users, a VBA macro can flag messages automatically based on any condition, including distinguishing inline images from real attachments. This requires enabling macros and is not recommended for non-technical users.
- Third-party add-ins: Some add-ins (like “Attachment Extractor” or “ClearContext”) offer more granular attachment filtering, but they cost money and may require admin approval in corporate environments.
Limitations and Things to Know
The rule-based approach is simple but has a few limitations you should be aware of:
- No per-sender exception: You can add exceptions, but you cannot easily say “flag attachments from my boss but not from newsletters” without creating two rules or using a more complex condition.
- No flag color based on file type: You cannot set a rule to flag PDFs in red and Word documents in blue. The flag color is fixed per rule.
- Rules are client-side for POP/IMAP: If you use POP or IMAP, the rule only runs when Outlook is open. If you use Exchange or Microsoft 365, the rule runs on the server, so it works even when Outlook is closed (though the flag may not appear until you open Outlook).
- Flagging does not move the message: The message stays in your inbox. If you want it moved to a “To Do” folder, you need to add a second action in the same rule.
Frequently Asked Questions
Can I auto-flag emails with attachments in Outlook on the web?
Yes. In Outlook on the web, create a rule with the condition “Has attachment” and the action “Flag message.” The flag will appear in the message list and sync to other devices if you’re using a Microsoft 365 or Exchange account.
Why doesn’t my rule flag emails with inline images?
Inline images are technically attachments, so the rule will flag them. If you want to exclude messages that only have inline images, you cannot do that with a simple rule. You would need a VBA macro that checks the message body for embedded images.
Can I set a due date that is a specific number of days from receipt?
No, the built-in rule only lets you choose “today,” “tomorrow,” “this week,” “next week,” or a specific date. You cannot set “3 days from now” as a dynamic value. A VBA macro or a third-party tool can do that.
Will the rule flag attachments in messages I send?
No, the rule applies to incoming messages only. If you want to flag outgoing messages with attachments, you would need a different rule type (“Apply rule on messages I send”) and the same flag action.
Does the flag appear in the mobile Outlook app?
For Microsoft 365 and Exchange accounts, yes — the flag syncs via the server. For POP/IMAP accounts, the flag is stored locally in the Outlook data file, so it will not appear on your phone.
How do I remove the flags from all messages at once?
Select all flagged messages in your inbox (use the “Flagged” search folder), then click the “Flag” button and choose “Clear Flag.” Or, run a rule with the action “clear message flag” on a folder, but that rule would need to be set up manually.