How to omit embedded images and footer images but not attachments when using start process by email?

Certified Lead Developer

Hi All,

We have  a process that receives email and later uses AI skills for each of the attached document. 

The issue I'm having is that Appian is considering any embedded image from the email (footer images/signature/logo) as an attachment. What I really want is the attachments msg property to only contain actual attachments.

Example:

 - User sends an email to system with 3 attachments and a footer which contains 2 logos.

 - The system picks up the email trigger and the process grabs the attachments but is also including images in the body (totaling 5 attachments now)).

What I want the above to do is only process the 3 actual attachments and not the 2 embedded images. We have hundreds of emails coming in every day and from various sources so its not consistent with embedded images. How do we figure out the actual attachment from embedded image, so we can discard embedded ones for further processing. otherwise the review task will become hectic for the end user to just reject all of the logos from emails.

Any help is appreciated; 

  Discussion posts and replies are publicly visible