web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Draft Email Action - F...
Power Automate
Suggested Answer

Draft Email Action - Formatting Problem

(0) ShareShare
ReportReport
Posted on by 10

Hi,

I'm currently experiencing an issue with my automation flow in Power Automate, which drafts emails with selected recipients. When I input text in the body section, I can see that it allows formatting. However, during the test run, the output does not retain the formatting, and the drafted email does not permit any additional formatting.

I've tried basic troubleshooting steps but haven't been able to resolve the issue. Could someone please assist me in finding a solution?

Thanks in advance!

Categories:
I have the same question (0)
  • Suggested answer
    Tomac Profile Picture
    3,953 Moderator on at
    If your email draft only needs basic formatting - line breaks - you can use the Code View button, remove all of the HTML tags present, and just format the email with line breaks:
     
    If you need advanced formatting such as font sizes, bold, etc you will need to use the Send and HTTP Request action to send a Graph request that allows you to format the body of the message with HTML: https://damobird365.com/create-a-draft-email-in-outlook/
     
    This is a limitation of the existing Draft an email message action, where it only allows generation of plaintext drafts.
  • Suggested answer
    Riyaz_riz11 Profile Picture
    3,893 Super User 2025 Season 2 on at
    Hi,
     

    Use the “Send an email (V2)” or “Create draft” Action

    • In the action, look for the Body field.

    • Switch to Code View (the little </> icon in the editor).

    • Enter your body as HTML.


    •  

    Example HTML Body:

    <p>Hello <strong>team</strong>,</p>
    <p>This is a <span style="color:blue;">formatted</span> email sent via Power Automate.</p>
    <ul>
    <li>Item one</li>
    <li>Item two</li>
    </ul>
    <p>Regards,<br/>Your Bot</p>
     

     This ensures you control exactly how formatting appears.

     

    Enable “Is HTML” Setting

    In the Send email or Create draft action:

    • Expand Advanced options.

    • Set Is HTML = Yes.

     This instructs Outlook/Exchange to render the body as HTML.

    Test the Flow

    After you test, check the draft or sent message—your formatting should now appear exactly as designed.

     
    If I have answered your question, please mark it as the preferred solution ✅ . If you like my response, please give it a Thumbs Up 👍.
    Regards,
    Riyaz

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard