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 / Extracting E-mail addr...
Power Automate
Unanswered

Extracting E-mail addresses of senders

(0) ShareShare
ReportReport
Posted on by Microsoft Employee
Hi! I have a shared mailbox that contains a lot of E-mails from different people. I want to extract the E-mail addresses of those people. 
 
I built a flow with the trigger "when a new E-mail arrives to the shared mailbox" then selected a subfolder of the inbox (instead of the inbox itself). When I send a new E-mail to that shared mailbox and then move that E-mail to the dedicated subfolder (selected in the trigger) the flow works. When I try to move the old E-mails to that sub-folder, the trigger doesn't fire. There are no errors or anything, it simply doesn't start. 
 
So....how do I make it work with the old E-mails? Is there any other way?
 
 Thanks!
Categories:
I have the same question (0)
  • Mira Ghaly Profile Picture
    11,415 Moderator on at

    @Anonymous 

    Please check below to extract email address on when an email arrives to shared mailbox.

    Mira_Ghaly_0-1618578736029.png

    To get emails in a specific folder:

    Mira_Ghaly_1-1618579006764.png

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @Mira_Ghaly , my problem is the trigger. If I put the trigger when an email arrives to one of the subfolders in the shared mailbox, it doesn't fire when I just move the old E-mails that are currently in my inbox to that sub-folder. When I send a new E-mail to that shared mailbox and then move to the dedicated sub-folder, then the flow is triggered. 

  • VictorIvanidze Profile Picture
    13,079 on at

    Hi @Anonymous, do not use trigger at all. Run your flow manually.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @VictorIvanidze , how do I start the flow manually? There are hundreds of E-mails. Maybe I'm missing something?

  • VictorIvanidze Profile Picture
    13,079 on at

    Hi @Anonymous, create an instant flow that scans all emails in all folders you need. If your goal is to extract the E-mail addresses one time, I really do not understand why do you want to use an automated (trigger-based) flow.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @VictorIvanidze , any chance you can help with the steps, please? I still can't picture how the flow will look like, I'm afraid.

  • VictorIvanidze Profile Picture
    13,079 on at

    Hi @Anonymous, sorry I do not provide free consulting service. Hire somebody or to teach you or to create an app for you. 

  • DiegoEscobar1 Profile Picture
    13 on at

    Hi @Anonymous. I guess the trigger is working well, only when an email is received, not moving from one folder to another. I didn't find a trigger for moving emails. But a workaround may be using the trigger "When an email is flagged", and then moving them with a flow, as shown below.

     

    DiegoEscobar1_0-1618771361953.png

    Hope this help!

    Best regards.

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @DiegoEscobar1 , the E-mails are in the shared mailbox and as far as I can see there is no "flag E-mail" trigger for shared mailbox, only for a personal one. 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I was not looking for someone to write an app for me for free. Your answer was vague and unhelpful and I merely wanted you to explain what you mean. Anyway, I think you misunderstood the question. Have a good day.   

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
Haque Profile Picture

Haque 612

#2
Valantis Profile Picture

Valantis 344

#3
11manish Profile Picture

11manish 326

Last 30 days Overall leaderboard