Skip to main content

Notifications

Community site session details

Community site session details

Session Id : kM3/cwwzs62ZOiKy5UZtal
Power Automate - Building Flows
Unanswered

Send image embeded emails to gmail

Like (0) ShareShare
ReportReport
Posted on 31 Jul 2024 09:30:54 by
Hello,
I have a flow that gets a link from sharepoint to a image and them composes it to be able to embed it to the email.
 
The outlook recipients receive the email with no problems, but the gmail doesn't show the image,
 
anyone has a solution for this ?
 
 
  • Suggested answer
    David_MA Profile Picture
    10,930 Super User 2025 Season 1 on 31 Jul 2024 at 18:13:05
    Send image embeded emails to gmail
    The Gmail people do not see the image because the SharePoint site is not a public website, so they don't have access to the image. You need to embed the image into the body of the HTML of the e-mail. The easiest way to do this is:
    • Create a separate workflow just to get the image from your SharePoint site. It can be a manually triggered flow.
      • Then use a Get file content action to get the file.
      • Follow it with a compose action and put the body of the Get file action into it.
      • Run the flow and look at the successful run.
    • Then go back to your original flow and open the e-mail in HTML view.
      • Then add the code below to the message where you want the image to appear.
      • Update png with the image type shown in the compose action, and replace imagecontent with the content from the compose action.
      • Update the alt, width and height accordingly.
      • Note: when you update the imagecontent, be sure you do not add in extra quote marks. There should only be a quote after src= and before >
     
    <p>
    <img src="data:image/png;base64,imagecontent" alt="workflow" width="281" height="28">
    </p>
     

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - Building Flows

#1
stampcoin Profile Picture

stampcoin 125

#2
David_MA Profile Picture

David_MA 118 Super User 2025 Season 1

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 110 Super User 2025 Season 1

Overall leaderboard
Loading complete