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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to Get Email Conte...
Power Automate
Unanswered

How to Get Email Content (To, From, Date/Time) from a .msg file (in SharePoint)

(1) ShareShare
ReportReport
Posted on by 6

Hi,

 

I have a SharePoint document library which can contains different type of files. I need to have a flow when a .msg (email) is uploaded the flow reads the Email content, gets Sender (From), Receiver(To), Date and Time and then updates metadata accordingly. This flow should be triggered in SharePoint and not outlook.

 

I setup the flow to be triggered when an email is uploaded  and here are the steps to get the content:

 

faceoff_0-1623944308086.png

 

the result of Set Variable is something like this:

faceoff_1-1623944858554.png

 

How can I convert this result to an understandable string that can be parsed? 

 

Thanks

 

 

 

Categories:
I have the same question (0)
  • Rahber Profile Picture
    1,935 on at

    getfilecontent returns binary information of the file.

     

    There is no direct way to parse a .msg file in Power Automate.

     

    Please click Accept as Solution if it resolved your problem or give it a Thumbs Up if it helped you in anyway this will allow other people to search correct solutions effectively.

    Thanks,
    Rahber

  • faceoff Profile Picture
    6 on at

    Thanks sir.

     

    What would you recommend in this case? Do you think if it's converted to PDF then it can be parsed?

  • london_paul Profile Picture
    17 on at

    Hi, 

     

    Sorry to resurrect an old thread, but did you get an answer to this as I'm hitting exactly this problem and it is very frustrating!

     

    Thanks ,

     

    Paul

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 873

#2
Valantis Profile Picture

Valantis 813

#3
Haque Profile Picture

Haque 526

Last 30 days Overall leaderboard