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 / Trigger 'When a new em...
Power Automate
Unanswered

Trigger 'When a new email arrives in a shared mailbox' is picking up the wrong html tags

(0) ShareShare
ReportReport
Posted on by

Hi there.

 

Basic summary of my flow. I have a flow that triggers when a new email arrives in a shared mailbox. The issue is that the flow is not picking up the correct html tags from the trigger email. This is resulting in the email having single line breaks instead of double line breaks when separating paragraphs for the entire email - which makes for a messy email.

 

When viewing the source of trigger email it shows this for the html:

 

“Hi All,<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>Yesterday”

 

The above HTML will always result in the following being published in an email (i.e. two line breaks between Hi All and Yesterday):

 

Hi All,

 

Yesterday

 

However, the flow picks up the following html instead of what's contained in the trigger email:

 

“Hi All,</p><p class="MsoNormal"></p><p class="MsoNormal">Yesterday”

 

The above html results in only one line break instead of two...i.e.

 

Hi All,

Yesterday

 

Any help on how to prevent flow from changing the html would be greatly appreciated.

 

Thanks.

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    68,697 Most Valuable Professional on at

    The <o:p> tags are inserted by Office applications, like Outlook and don't tend to be recognized as regular HTML. This is a known issue that I've seen reported outside of Power Apps and Power Automate when displaying email contents as a web page.  The only solution I've seen is to intercept the incoming HTML and replace all the <o: and </o: references with just a <.  I'm not sure if that is possible in this case or if the email is already converted to remove them by the trigger.

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 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard