Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Saving Attachments From Previous Emails in INBOX

(0) ShareShare
ReportReport
Posted on by 11

Hello, 

I use the Power Flow that automatically saves email attachments to OneDrive. Is there a way to get the flow to manually run through my entire inbox. I essentially need to do this only once. 

Thank you.

  • bbanic27 Profile Picture
    2 on at
    Re: Saving Attachments From Previous Emails in INBOX

    You can bypass power automate all together and just use the “rules” feature in edge mail. Once it’s set up it works with the desktop application as well. I prefer setting up in the browser version because, to me, it is easier to use.

  • JDR100 Profile Picture
    2 on at
    Re: Saving Attachments From Previous Emails in INBOX

    The top count returns a maximum of 25, how can i loop through to do more emails? I am looking for circa 500 

  • shikhasodhi Profile Picture
    36 on at
    Re: Saving Attachments From Previous Emails in INBOX

    @annajhaveri Thanks ! I will give it a try. I have one more question about email attachment limit(25). Can we increase the limit to extract the attachments from outlook?

  • annajhaveri Profile Picture
    8,531 Most Valuable Professional on at
    Re: Saving Attachments From Previous Emails in INBOX

    @shikhasodhi  try below search query expressions

    received>@{addDays(utcNow(),-3,'yyyy-MM-ddThh:mm:ss')} AND received<@{addDays(utcNow(),-2,'yyyy-MM-ddThh:mm:ss')}
    received>2023-07-14T11:00:00 AND received<2023-07-14T14:00:00
  • shikhasodhi Profile Picture
    36 on at
    Re: Saving Attachments From Previous Emails in INBOX

    Hello,

              I wanted to extract  Email attachments of  14 July,2023 from 11 AM to 4PM. I tried And(greater(formatDateTime(addDays('2023-07-14T17:00:00Z', -1),'yyyy-MM-ddTHH:mm:ssZ'),'17:00:00'),less(formatDateTime(addDays('2023-07-14T17:00:00Z', -1),'yyyy-MM-ddTHH:mm:ssZ'),'21:00:00')) But it is not working. I put this query in Get Email(v3) in Search Query. If anyone can help me that would be appreciated.

     

    Thanks

     

  • shikhasodhi Profile Picture
    36 on at
    Re: Saving Attachments From Previous Emails in INBOX

    Hello,

              I wanted to extract  Emails of  14 July,2023 from 11 AM to 4PM. I tried And(greater(formatDateTime(addDays('2023-07-14T17:00:00Z', -1),'yyyy-MM-ddTHH:mm:ssZ'),'17:00:00'),less(formatDateTime(addDays('2023-07-14T17:00:00Z', -1),'yyyy-MM-ddTHH:mm:ssZ'),'21:00:00')) But it is not working. I put this query in Get Email(v3) in Search Query. If anyone can help me that would be appreciated.

     

    Thanks

  • MelGen Profile Picture
    24 on at
    Re: Saving Attachments From Previous Emails in INBOX

    I'll give it a try.. thanks 

  • annajhaveri Profile Picture
    8,531 Most Valuable Professional on at
    Re: Saving Attachments From Previous Emails in INBOX

    @MelGen below is example

    received<2015-06-30 and received>2015-06-01

     

  • MelGen Profile Picture
    24 on at
    Re: Saving Attachments From Previous Emails in INBOX

    Could provide an example of a search query on Get Emails?  

  • annajhaveri Profile Picture
    8,531 Most Valuable Professional on at
    Re: Saving Attachments From Previous Emails in INBOX

    @MelGen  are you looking for emails within specific date range? You can try using search query on Get Emails action to get emails of certain dates.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,587 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,928 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow