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 Automate
Unanswered

Export Email Data

(0) ShareShare
ReportReport
Posted on by 93

Hi All,

I'm new to Power Automate, but I think this might help me with what I'm trying to do. My company uses Office for email and I would like to create a data lake of email data in SharePoint from many users. From that data lake I would use Power BI to do company-wide analytics on things like email response rate, or most popular day people respond to our emails, stuff like that. Is there a way to use Power Automate on a group of colleagues so that once a week a .pst or .xlsx or .csv file of their email data is automatically uploaded into a SharePoint folder? I know that in Power BI there is an Exchange server connector that allows me to see my inbox's data, but I haven't seen a way to add colleagues data automatically. I understand this might mean me going 1-by1 to each colleague and setting this up in Power Automate, but I'm OK with that. Let's use me as a guinea pig for now. The data I'm looking to have Power Automate export would have to included timestamps and a particular data field called "InternetMessageID." That last field is found in the "Attributes" column in Power BI after connecting your Exchange server with Power BI. Like I said, I'm new to Power Automate, so any advice would be greatly appreciated.

 

Thanks,

Daniel

Categories:
I have the same question (0)
  • Mira Ghaly Profile Picture
    11,415 Moderator on at
  • DanielGAJohnson Profile Picture
    93 on at
  • Mira Ghaly Profile Picture
    11,415 Moderator on at

    @DanielGAJohnson

    Sorry just updated my reply

     

  • DanielGAJohnson Profile Picture
    93 on at

    @Mira_Ghaly Not sure this will help me. I'm looking to do a weekly export to a file like .csv or .xlsx. I'm not so much interested in attachments or individual emails. I am looking to do data analysis on potentially thousands of emails a week. And the emails are almost always sent to unique addresses.

  • Mira Ghaly Profile Picture
    11,415 Moderator on at

    @DanielGAJohnson

    Sorry got you wrong, please check the Get Emails action and then you can loop on the output using apply to each, Add row to an Excel action.

     

    I can provide you with an example shortly. 

     

  • Mira Ghaly Profile Picture
    11,415 Moderator on at

    @DanielGAJohnson 

    GetEmails, you can specifiy more than one user and specify which folder and also search criteria if you need such.

    Mira_Ghaly_0-1599598416274.png

    Then you can add it to an excel row as below but please note it will be adding it as HTML so may be you will need to parse the email body before adding it.

    Mira_Ghaly_1-1599599576367.png

     

    Hop this helps!

     

     

     

  • ScottShearer Profile Picture
    25,277 Most Valuable Professional on at

    @DanielGAJohnson 

    Please note that Get emails will return a maximum of 250 emails.  You said that you might be looking at thousands of emails each week.  I suspect that you'll need to use a search query and retrieve emails in batches for this to work for you.

    Here is a link to the Get Emails documentation.

     

     

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 398 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 323 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 183 Most Valuable Professional

Last 30 days Overall leaderboard