Customize email in flows

Here are the top how-to scenarios for email in Microsoft 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.


Power Automate uses either the classic cloud flows designer or the cloud flows designer with Copilot. To identify which designer you’re using, go to the Note section in Understand the cloud flows designer with copilot capabilities.

Option 1: Write HTML directly into the flow

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

    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—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. On the Message tab, select More commands (...) > Actions > Other Actions > View Source.

    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 (V2) action, and then paste the contents that you copied from Outlook.

  8. Select Save at the bottom of the flow steps to save your flow.

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

  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, do the following:

    1. Go to the HTML section of the rich text editor.

    2. Look for <image src= in the HTML.

    3. 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 Microsoft Entra ID connector, and then select the distribution list.

  2. Under the action Microsoft Entra ID-Get group members, add an Apply to each action.

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

    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 web version of Outlook.

  1. Sign in to the web version of Outlook 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 Settings 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 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.

See also

Overview of using email with flows
Create flows to manage email
Create flows for popular email scenarios