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 / Read data from email a...
Power Automate
Suggested Answer

Read data from email attachments which is of type .msg or .eml

(0) ShareShare
ReportReport
Posted on by
I am designing a workflow to extract data from email attachments that are themselves emails (.eml or .msg files). It appears Power Automate cannot natively parse these binary formats directly. Can anyone confirm if my understanding is correct? 

Also, what is the best practice to design this solution?
Email_attachment.png
I have the same question (0)
  • Suggested answer
    chiaraalina Profile Picture
    2,425 Super User 2026 Season 1 on at
     
    You can use Encodian (Third-Party). It provides ready-made actions like the "Email – Extract Attachments” which can directly parse .eml or .msg file content into fields and extract any attachments within them.
     
    Good thing is 50 credits a month are free. If you need more than 50 runs a month you have to do a subscription.
     
     
     
     
     
    Filename (you can choose different)
    concat(formatDateTime(utcNow(),'yyyyMMdd-HHmmss'), '-', outputs('Get_email_(V2)')?['body/subject'], '.eml')
     
    File Content
    @{body('Get_Email_Content')}
     
     
     
    Hope it helps!
     
     
     
  • Suggested answer
    stampcoin Profile Picture
    5,171 Super User 2026 Season 1 on at
     
    I think basically you may consider to use Send an HTTP request in Office 365 Outlook.
    reference link:
     
    for msg attachment
    Get:
    https://graph.microsoft.com/v1.0/me/messages/{message-id}/attachments/{attachment-id}
    for eml attachment
    Get:
    https://graph.microsoft.com/v1.0/me/messages/{message-id}/attachments/{attachment-id}/$value
     

    Enjoy Power Platform and have a great day 🚀 |  My LinkedIn

    If the answer helps, please consider 👍, Thanks.

     
     
  • Suggested answer
    11manish Profile Picture
    3,333 on at
    Yes, your understanding is correct.

    Power Automate does not have a native action that can directly parse the contents of .msg (Outlook message) files, and support for .eml files is limited. While
     
    Power Automate can retrieve the attachment as binary content, it cannot natively extract properties.

    Power Automate alone cannot reliably parse .msg files and has only limited capability with .eml files.
     
    The recommended enterprise approach is to use an Azure Function (or a specialized parsing service) to convert the email attachment into structured JSON, then
     
    continue processing in Power Automate.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard