How to Exclude Inline Images from Outlook Attachment Rules
Question details
The user needs to prevent Outlook and automated workflows from classifying messages with embedded inline images, such as company logos or email signatures, as having standard file attachments.

- Product
- Microsoft Outlook
- Device & OS
- not provided
- Scenario
- Setting up email rules or automated workflows to accurately filter, move, or process emails with genuine file attachments while ignoring embedded signature images.
- Observed behavior
- Outlook's default 'Has Attachment' condition incorrectly classifies messages with inline logos or signatures as containing attachments, causing them to be moved to incorrect folders or processed improperly.
Ensure you have access to Microsoft Power Automate or Logic Apps, as standard Outlook inbox rules do not provide a native filter to distinguish between inline images and actual file attachments.
Filter Attachments Using the Power Automate 'isInline' Property
Create a Power Automate flow to inspect the attachment collection and only trigger actions if the attachment is a genuine file, not an inline image.
Because inline images are part of the email's MIME structure, Outlook's basic rules cannot differentiate them from normal attachments. Power Automate provides advanced dynamic content, specifically the 'isInline' property, to filter out these structural images.
Open Microsoft Power Automate, click on 'Create', and select 'Automated cloud flow'. Choose the trigger 'When a new email arrives (V3)' and connect your Outlook account.
In the trigger settings, click 'Show advanced options'. Ensure 'Include Attachments' is set to 'Yes' and 'Only with Attachments' is set to 'Yes'.
Click 'New step' and select the 'Apply to each' control. In the dynamic content box, select 'Attachments' from your email trigger to loop through every file attached to the incoming email.
Inside the loop, click 'Add an action' and choose 'Condition'. Set the condition to check if the dynamic content 'Is Inline' is equal to the expression 'false'.
In the 'If yes' branch of your condition (which confirms the attachment is a real file and not an inline signature), add your desired action, such as 'Move email (V2)' to route the message to the correct folder.

Use Externally Hosted Images for Email Signatures
Prevent the issue entirely by using linked images in your signatures rather than embedding them directly into the email MIME structure.
Filter by File Type and Size Limits
Set up conditions in your workflow that exclude typical signature image file types or ignore files under a specific size.
Discover WPS Office for Seamless Document Management
If you frequently deal with complex Microsoft Office configurations and attachment issues, consider switching to WPS Office. It provides a lightweight, comprehensive suite for all your document, spreadsheet, and presentation needs, making it easier to manage files and avoid email attachment confusion.
- 1. Download the software: Visit the official WPS Office website and download the free installer for your operating system.
- 2. Install and launch: Run the setup file, follow the quick installation prompts, and open the WPS Office desktop app.
- 3. Open existing files: Easily drag and drop your existing Microsoft Office documents directly into WPS Office to continue your work without losing any formatting.

Frequently Asked Questions
Why does Outlook treat my email signature as an attachment?
When an image is embedded directly into an email signature, Outlook incorporates it into the message's MIME structure as an inline attachment. Standard 'Has Attachment' inbox rules cannot differentiate between these hidden structural files and genuine document attachments.
Can I fix inline image attachment issues using standard Outlook desktop rules?
No, standard Outlook desktop rules do not have an advanced filter to check the 'isInline' property of an attachment. You must use Microsoft Power Automate (formerly Microsoft Flow) to inspect attachment properties accurately.
How can I find the isInline property in Power Automate?
In Power Automate, after adding a trigger for a new email, use an 'Apply to each' loop on the 'Attachments' array. Inside the loop, you can access the 'Is Inline' dynamic content from the email trigger to use in your condition checks.
Will hosting my signature image prevent it from being flagged as an attachment?
Yes. If you host your signature logo on a web server and link to it in your HTML signature instead of embedding the local file, the email client will download the image from the web upon opening rather than attaching it to the email's physical structure.




