UIPath seems to be unable to download and save emails more than one year old


I am trying to use UI path to create a script that will automatically go through my outlook email and save all of the emails that I have that 1. Meet a certain criteria of a keyword and 2. Are more than 7 years old.

I cannot even get UIpath to download emails that are more than 1 years old let alone 7 years old.

Any help would be appreciated!

Hi @N-EmailDownloader and welcome to the forum!

If you are using the “Get Outlook Mail Message” activity please check if the Top setting is set to empty (default is 30)

If this is already done can you please share the filter you are using?

Regards ,

Hi Stefano,

Thank you. I have my “Top” set to 10 to not overwhelm my computer if it suddenly works.

My ideal Filter is “[ReceivedTime] <= ‘12/15/2013’” but as soon as I change the filter to 366 days ago 11/18/19 it no longer works. It works for 365 days (11/19/19) but not 366 (11/18/19).

Ok, based on this it could be due to the mails loaded.
Can you try doing a different filter in order to retrieve one or more mail from last year?
For example if you have a mail with a specific subject from last year you can use “[Subject]=‘abc’” and see if it works.

Oh my gosh, I am so sorry Stefano. My outlook apparently deletes emails that were more than a year old on my computer. The problem wasn’t with UIPath at all.

Thank you :slight_smile: I appreciate your help. I am all set now!

I’m glad it’s solved :smiley:

Happy automation!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.