knowledgecenter-breadcrum

Knowledge Center

13 Oct, 2025

Preserve Email Formatting in Outlook Using Power Automate

Posted on 13 Oct, 2025 by Dadasaheb Deole, Posted in Power Automate Power Platform

Details Blogs

Introduction

When you use Microsoft Power Automate to send emails, it’s common to want your message to look clear and well-organized with bullet points, line breaks, and spaces between paragraphs.

The problem with creating and sending emails using the Dataverse connector is that while the email may look fine in D365 CRM, it often appears messy when opened in Outlook.

Common problems include:

  • Bullet points merging into plain text
  • Line breaks disappearing
  • Paragraph spacing collapsing into a single block of text

This formatting issue makes emails harder to read and less professional.

In this blog, I’ll walk you through a simple yet effective solution to preserve the formatting of your Power Automate emails in Outlook. This approach is especially helpful when dealing with emails that contain lists, descriptions, or structured text.

Issue Example

  •  Created and sent an email using Power Automate Flow as shown below:

  • The email sent via Power Automate looks fine when previewed in CRM. The line breaks, bullet points, and spacing all appear correctly:


     

  • However, when the same email is opened in Outlook, the formatting breaks. Bullets, spacing, and line breaks disappear, resulting in a dense block of text as shown in the image below:

Solution: Use the pre Tag
        The key to solving this issue is wrapping your email body inside the HTML pre tag.
        The pre tag preserves formatting such as:

  • Line breaks
  • Indentation
  • Bullet points

        Unlike regular text rendering, pre displays the content exactly as it is written in the source code.
        However, since different email clients render HTML differently, you also need to include CSS styling to ensure consistency across clients, especially Outlook.

Syntax:             

          

Example:

         We can use this in the Power Automate description as shown below:

           

           

   

Results:

  • CRM Preview: The email continues to display correctly, without any visual changes.


     
  • Outlook: The formatting is preserved, including bullet points, spacing, and line breaks. The result is a clean, readable email that matches your intended design.

Conclusion:

          By using this approach, you can maintain consistent and professional email layouts when sending messages through Power Automate.

Comment

This is a Required Field

Loading

Recent Updates

Embed PowerBI Report To Form
Blogs
09 Sep, 2026

Embed a Power BI Report on a Dynamics 365 Form, Filtered to the Record You're Viewing

Most Power BI reports in a Dynamics 365 environment live somewhere the user has to go and find: a dashboard,…

READ MORE
Blogs
08 Sep, 2026

How to Dynamically Retrieve SharePoint Drive IDs and List GUIDs for Power Automate

Introduction Many times, we come across scenarios where we need to populate a Word template in Dynamics 365 using Power…

READ MORE
Blogs
11 Aug, 2026

How to Remove an Unmanaged Layer from a Dataverse Email Template

Overview Email Templates in Microsoft Dataverse make it easy to reuse email content such as subject lines, message bodies, and…

READ MORE