Image Src in Mail HTML Body

Hi Guys,

I’m trying to map the image attached to an email body and replacing the src with the downloaded image attachments path. Looking at the html src, they don’t contain an image name, only the cid:* as the src, please see the first image.

I tried accessing the ContentId for the attachments but non of them matches what’s in the html src, and in each run the ContentId is changing. Any ideas on how to properly mapped the correct images in the html body? Thanks.