web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Embedding image into n...
Power Automate
Unanswered

Embedding image into new email, where image is from previous email

(0) ShareShare
ReportReport
Posted on by 12

Hi all,

 

I'm currently triggering when an email is received, then trying to grab the attachment from that email and send it out embedded in the body of a new email. Here's my current flow:

 

image.png

 

I want to use HTML in the body of the outgoing email (I have HTML turned on in advanced options). How do I integrate the dynamic content from the incoming email into the HTML of the body of the outgoing email? Testing the above only fills the email with symbols.

 

Thanks

 

 

Categories:
I have the same question (0)
  • v-yuazh-msft Profile Picture
    Microsoft Employee on at

    Hi @ryans32229,

     

    You couldn't insert the Content dynamic content of the trigger in the Body field of "Send an email" action to Embed image into new email.

     

    Embedding image into a email body is not supported in microsoft flow currently,

    I afraid that there is no way to achieve your needs in Microsoft Flow currently.

     

    If you would like this feature to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:

    https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

     

    As an alternative way,please take a try to send the email as an attachment of the new email,the sceenshot of the flow as below:

    Capture.PNG

     

    Best regards,

    Alice

  • ryans32229 Profile Picture
    12 on at

    Hi @v-yuazh-msft

     

    In this thread they are able to embed an image into the email body: https://powerusers.microsoft.com/t5/General-Flow-Discussion/insert-picture-outlook-body-message/td-p/63214

     

    Are you saying it's not possible for dynamic content from the trigger? In that case could the Flow save the attachment to OneDrive or Sharepoint and then look for it in there, then embed it as in the above thread?

     

    Thanks

  • v-yuazh-msft Profile Picture
    Microsoft Employee on at
  • v-yuazh-msft Profile Picture
    Microsoft Employee on at

    Hi @ryans32229,

     

    I have made a test on my side, and couldn't acheive to embed an image into the email body following the thread that you mentioned,the image into the email body would always be a red "X", and I afraid that it is not supported in microsoft flow currently.

     

    Best regards,

    Alice

  • ryans32229 Profile Picture
    12 on at

    Hi @v-yuazh-msft

     

    I see, so in the thread I linked, Flow has removed the functionality to embed an image into an email with HTML?

  • v-yuazh-msft Profile Picture
    Microsoft Employee on at

    Hi @ryans32229,

     

    Yes, I afraid it is be removed.

     

    Best regards,

    Alice

  • sgthompson Profile Picture
    2 on at

    Alice,

    Your statement:


     

    Embedding image into a email body is not supported in microsoft flow currently,

    I afraid that there is no way to achieve your needs in Microsoft Flow currently.

     


    seems absolute.  Could you provide a link where this position is clearly stated by Microsoft?

     

    Thanks,

    Stephen

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    The best way is to attach the image as attachment and add some html code to your body where you want to display the image. 

    Step 1:

    use "Send an email (V2)"

     

    Step 2:

    click on "</>" in the body field to show the HTML editor.

     

    Step 3:
    Add the following code: "<img src="header.png" alt="header" />"

     

    Step 4:

    Add an attachment:

    Attachments Name - 1 : header.png

    Attachments Content - 1: content of the image

     

    You can add as many image as you like 🙂

     

     

     

  • pcms_tung Profile Picture
    2 on at

    @Anonymous , success to read the msg in o365 using your method. However, when I open the mail in outlook desktop version, it shows X. May I know if there is any solution for this, thanks.

     

    PS. I have follow below steps, but still shows X

    https://www.nucleustechnologies.com/blog/cannot-see-images-in-outlook-emails-this-post-will-definitely-help/

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @Anonymous You have the real answer to this question. This answer worked like a charm and was simple to do. Make sure y'all use binary as the file content. May use the base64ToBinary() expression

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 382

#2
Valantis Profile Picture

Valantis 370

#3
David_MA Profile Picture

David_MA 300 Super User 2026 Season 1

Last 30 days Overall leaderboard