Get Outlook Mail Message - Timeout

Hi all, I have a particularly strange issue where I cannot seem to find a solution to it.

I am already using Uipath.Mail.Activities version 1.9.5 with my enterprise uipath studio and orchestrator version 2018.4.4.

So I am using Get Outlook Mail Message to retrieve only unread emails and I set Options: Top to int32.maxvalue as well as MarkAsRead = True once the mail gets picked up.

When I don’t have a lot of unread emails inside my mailbox, this works fine. However I noticed that when I have more than 100 unread emails, it will result in a timeout. I have tried to increase the timeoutMS setting to 2min I still face the same issue.

Any idea how to tackle this? Or is this a known bug?


Can you check if Firewall / Antivirus is blocking the request

Hope this may help you


Nope. I don’t think that’s the cause.

Because as I mentioned, it works fine when I don’t have many unread emails. But once the number of unread email increases, I will inevitably get timeout.

It takes more than two min to read 100+ emails…
Increase your timeout property by 15 min and check…

It will be good if reduce amount of top to 500 or 1000 As per max email can get in…Because Int32.max will be high number to filter unread and give you output…
It will reduce your time by some amount…

I’ll give it a try and see if that helps.

  1. Search Apps & Features option in windows search
  2. Select Microsoft office and click on modify
  3. Select Online repair


Try this it will work…i used same