Customize email in flows

Here are the top how-to scenarios about email in Power Automate, with examples of how to achieve them:

  1. Send a beautifully formatted email.

  2. Add an image to your email.

  3. Send email to a distribution list.

  4. Send automatic replies from a shared mailbox.

  5. 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

  1. Select the </> button inside the rich text editor in the Power Automate designer.

    A screenshot of the button you can use to enter HTML into the body of the email.

  2. 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:

  1. Create an email in Outlook, styling it with colors, content placeholders, images, and tables.

  2. Send the email to yourself.

  3. Open the email you sent to yourself in Outlook. Be sure to use a new window; don't use the preview window in Outlook.

  4. Go to the Message tab > More Actions > Other Actions > View Source.

    A screenshot that displays the steps to view the other actions menu in Outlook.

    The HTML representation of the email opens in your text editor.

  5. Find <html> in the file.

  6. Copy the content between <html> and </html>.

  7. 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:

  1. Upload the image to cloud-based storage, such as Google Drive or OneDrive for Business.

  2. Get the anonymous visitor URL to the image.

  3. 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:

  1. Add the Get group members action from the Azure AD connector, and then select the distribution list.

  2. Add an Apply to each action under the action Azure AD-Get group members.

  3. 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.

    A screenshot of a cloud flow that gets all group members and then sends email to each member.

Send automatic replies from a shared mailbox

You can do this in the Outlook Web App.

  1. Sign in to the Outlook Web App at with your Office 365 credentials.

  2. Select your profile image (or placeholder image) in the upper-right corner.

  3. Select Open another mailbox.

  4. Enter the name or email address of the shared mailbox, and then select it.

  5. Select the settings icon in the upper-right corner, and then select Automatic replies.

  6. 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.

More information