Skip to main content

Notifications

Community site session details

Community site session details

Session Id : sEdm6a3ud1sVdJtHlD80X4
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,607 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 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,660 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard
Loading started
Loading complete