Customize email in flows
Here are the top how-to scenarios for email in Microsoft Power Automate, with examples of how to achieve them.
Send a beautifully formatted email.
Add an image to your email.
Send automatic replies from a shared mailbox.
Change the date and time format of an email.
Send a beautifully formatted email
You can use HTML to beautify your email. Following are two options that you can use to beautify your messages with HTML.
Option 1: Write HTML directly into the flow
Select the </> button inside the rich text editor in the Power Automate designer.
Enter any HTML content into the body of the email.
Option 2: Copy HTML from an Outlook email
Alternatively, if you don't know—or don't feel like playing with—HTML, follow these steps:
Create an email in Outlook, styling it with colors, content placeholders, images, and tables.
Send the email to yourself.
Open the email you sent to yourself in Outlook. Be sure to use a new window; don't use the preview window in Outlook.
On the Message tab, select More commands (...) > Actions > Other Actions > View Source.
The HTML representation of the email opens in your text editor.
Find <html> in the file.
Copy the content between <html> and </html>.
Back in Power Automate, select the </> button in the rich text editor of the Send an email (V2) action, and then paste the contents that you copied from Outlook.
Select Save at the bottom of the flow steps to save your flow.
Be sure to test your flow to confirm that it works as intended.
Add an image to your email
Outlook takes the image you included in your email and converts it to plain text. Instead of copying/pasting the plain text into Power Automate, follow these steps:
Upload the image to cloud-based storage, such as Google Drive or OneDrive for Business.
Get the anonymous visitor URL to the image.
In the Power Automate Send an email action, do the following:
Go to the HTML section of the rich text editor.
Look for <image src= in the HTML.
Change the value of the src property to the URL of the image from the cloud-based storage provider where you uploaded the image.
Your src should be similar to: <image src="https://url/to/your/images.png"/>.
Inline images are limited to a size of 100 KB. This might affect the quality of the image.
Send email to a distribution list
The Send an email action can send messages to an email-enabled security group or distribution list. Each member of the email-enabled security group or distribution list receives the email in their group mailbox rather than their own mailbox.
Alternatively, follow these steps if you want users to receive the email in their mailbox.
Under the action Azure AD-Get group members, add an Apply to each action.
Inside the Apply to each action, add the Send an email action, and then add the group members from the Get group members action as dynamic content in the To field.
Send automatic replies from a shared mailbox
You can do this in the web version of Outlook.
Sign in to the web version of Outlook at https://outlook.office365.com with your Office 365 credentials.
Select your profile image (or placeholder image) in the upper-right corner.
Select Open another mailbox.
Enter the name or email address of the shared mailbox, and then select it.
Select Settings in the upper-right corner, and then select Automatic replies.
Configure your automatic reply.
Change the date and time format of an email
By default, the email you receive shows the Coordinated Universal Time (UTC) time zone. However, your users might want to change it to their local time zone. For instructions, go to Converting time zone in Microsoft Power Automate to convert the time zone.
Submit and view feedback for