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 / Regarding Outlook emai...
Power Automate
Unanswered

Regarding Outlook emails & attachments download in a Folder

(0) ShareShare
ReportReport
Posted on by 231

Hi,

I have created a flow to capture the Outlook emails received from a certain account to my account and thereby downloading all the attachments in a folder and email messages in a separate folder.

Capture.PNG

 

I am facing 2 problems (although i have posted this query before also):-

1. There are many email & corresponding attachments which should have been downloaded into the destination folder. But i am observing that only 5-6 email messages being saved/downloaded.

2. I would like to save the emails for certain period only say 01-June-22 to 30-June-22. For this, i selected "Date display dialog box" and entered the dates. However, i am unable to come up with a Loop or If Statement, which i can use to capture the events falling b/w these 2 dates only.

 

Kindly help. 

 

I have the same question (0)
  • VJR Profile Picture
    7,635 on at

    You can have your logical structure as follows

    VJR_0-1658460019324.png

     

     

    You can also find some posts which will show you how to use AND/OR operators and combine multiple conditions within the same IF statement

     

    https://powerusers.microsoft.com/t5/Power-Automate-Desktop/If-condition-logic/m-p/853275

     

    https://powerusers.microsoft.com/t5/Power-Automate-Desktop/How-to-include-the-logical-AND-OR-operators-in-conditionals/td-p/715982

     

    https://powerusers.microsoft.com/t5/Power-Automate-Desktop/Need-to-comapare-multiple-conditions-in-the-If-loop-in-Power/m-p/755028

     

     

     

  • SA_VOH Profile Picture
    231 on at

    Hi VJR,

    How did you get "Get this email" . I am unable to find it in Drag and Drop Feature. Am i missing something?

    Please help.

    Regards,

  • VJR Profile Picture
    7,635 on at

    It was just the comment action for you to do what you want after satisfying the date conditions. 

  • ryule Profile Picture
    929 Super User 2024 Season 1 on at

    I think he means the "Save Outlook email messages" command, using the variable produced from the Retrieve action.

  • SA_VOH Profile Picture
    231 on at

    Hi VJR,

    Somehow the flow is not working although it runs perfectly with Final Status : Ready.

     

    Sometimes the Output still yields 7-8 email only whereas i have 20 such emails.

    When i selected some other email account to test the flow, then i observe that it has no regards to my restricted dates and is continuously running without any date limitations and yielding 51 emails whereas there should be 10 emails only.

    I am pasting the screenshot of flow i had prepared and i would like to mention that i have also saved the retrieved email. Hence a extra Step from your email.

    Image.PNG

    I think there is a bug here. Should i report it and where it can be done.

    Regards,

  • ryule Profile Picture
    929 Super User 2024 Season 1 on at

    That Save step needs to be where "get this email" is and updated to CurrentItem

    (in theory; I've never actually done this, but that's where the logic is, so that's where it would need to be to only save the ones you want)

  • SA_VOH Profile Picture
    231 on at

    Hi ryule,

    Although modifications done as suggested, the problem is still appearing. Screenshot enclosed. Please look into.

    Capture.PNG

  • VJR Profile Picture
    7,635 on at

    Can you step through the code using the "Run next action" on the top and see what's going wrong where. That will tell the "why". See if there is any pattern for specific emails getting picked up and others not.

  • SA_VOH Profile Picture
    231 on at

    Hi VJR,

    Tried as per your instructions, and till 4 Loops runs, no email message was saved.

    After 5th run lots of message saved that are even beyond selected period 01-June-22 to 30-June-22.

    Sir, do you know any other user who had faced the same issue.

    Regards,

  • VJR Profile Picture
    7,635 on at

    Hi @SA_VOH 

     

    Didn't come across anyone with a similar scenario.

    If you think it is acting buggy you can try reporting here.

    Also check by contacting support.

     

     

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 252 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 169

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard