Customize email in flows
Here are the top how-to scenarios about email in 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 HTML 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.
Go to the Message tab > More 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 action, and then paste the contents that you copied from Outlook.
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, go to the HTML section of the rich text editor, look for <image src= in the HTML, and then 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:
Add an Apply to each action under the action Azure AD-Get group members.
Inside the Apply to each, 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 Outlook Web App.
Sign in to the Outlook Web App 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 the settings icon 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 Coordinated Universal Time (UTC) time zone. However, your users might want to change it to their local time zone. Follow the steps in this article to convert the time zone.