Skip to main content
sandhyam6767
February 26, 2025
Question

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

  • February 26, 2025
  • 8 replies
  • 0 views

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; 

8 replies

stefanhelzle0001
February 26, 2025

The content type of the individual attachments would allow you to do that.

sandhyam6767
March 10, 2025

Thanks [mention:a11f77a729fb4db2af76b09948583328:e9ed411860ed4f2ba0265705b8793d05] . Will give a try with content type filter in the process

andresalbertoy0001
November 4, 2025

Hi [mention:a11f77a729fb4db2af76b09948583328:e9ed411860ed4f2ba0265705b8793d05]  and [mention:7be740ce21e4425791394f6143801d54:e9ed411860ed4f2ba0265705b8793d05] ,

I'm facing the same challenge, and no matter how hard I've searched, I can't find a way [emoticon:6f61a5a028b641cb925f8551a1059cc2] to obtain the content type mentioned by [mention:a11f77a729fb4db2af76b09948583328:e9ed411860ed4f2ba0265705b8793d05] , in any of the properties of the receive message event.

Could you give me an additional clue as to where or how I can check this content type?

I was looking here https://docs.appian.com/suite/help/25.3/Receive_Message_Event.html#email-message-type-considerations for some of the message properties.

stefanhelzle0001
November 5, 2025

Did you check the BodyTypes property? I expect this to hold the content type for each of the parts.

andresalbertoy0001
November 5, 2025

Thanks [mention:a11f77a729fb4db2af76b09948583328:e9ed411860ed4f2ba0265705b8793d05] 

Still, it seems Body Types isn't the attribute to get the content types, unless I'm not understanding you well. 

I'm receiving 7 inline attachments, but the bodytypes just gave me a list of 2 types, and no clue how to relate the given types with the attachments. 



Do you have any other indication about where can I find the content type of the attachments as you mentioned?

Just in case, I also tried the BodyContentType and got another result that seems to me of no use for this purpose. 

multipart/mixed;
boundary*0=_004_FR6P281MB3437A162F1C7800D0C96724388C5AFR6P281MB3437DEUP;
boundary*1=_

BR.