Skip to main content

Notifications

Community site session details

Community site session details

Session Id : M1P9SMW2YAqBgyneu1tfvM
Power Automate - Power Automate Desktop
Unanswered

Regarding Outlook emails & attachments download in a Folder

Like (0) ShareShare
ReportReport
Posted on 21 Jul 2022 10:16:18 by 201

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. 

 

Categories:
  • SA_VOH Profile Picture
    201 on 05 May 2023 at 17:47:57
    Re: Regarding Outlook emails & attachments download in a Folder

    Dear All,

    I am still unable to find any solution to the problem. The PAD flow downloads all the email attachments received from the sender, irrespective of the dates mentioned in the PAD. Any help possible? Or any update released by Microsoft which can resolve my problem.

     

  • VJR Profile Picture
    7,635 on 27 Jul 2022 at 09:50:45
    Re: Regarding Outlook emails & attachments download in a Folder

    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.

     

     

  • SA_VOH Profile Picture
    201 on 27 Jul 2022 at 09:42:05
    Re: Regarding Outlook emails & attachments download in a Folder

    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 27 Jul 2022 at 08:29:50
    Re: Regarding Outlook emails & attachments download in a Folder

    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
    201 on 27 Jul 2022 at 07:31:20
    Re: Regarding Outlook emails & attachments download in a Folder

    Hi ryule,

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

    Capture.PNG

  • ryule Profile Picture
    927 Super User 2024 Season 1 on 26 Jul 2022 at 13:30:10
    Re: Regarding Outlook emails & attachments download in a Folder

    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
    201 on 26 Jul 2022 at 10:26:12
    Re: Regarding Outlook emails & attachments download in a Folder

    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
    927 Super User 2024 Season 1 on 22 Jul 2022 at 13:23:43
    Re: Regarding Outlook emails & attachments download in a Folder

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

  • VJR Profile Picture
    7,635 on 22 Jul 2022 at 13:20:25
    Re: Regarding Outlook emails & attachments download in a Folder

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

  • SA_VOH Profile Picture
    201 on 22 Jul 2022 at 13:17:10
    Re: Regarding Outlook emails & attachments download in a Folder

    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,

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,651 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard
Loading started