Unable to access outlook inbox mail using UIPATH

We are getting exception while reading mail from outlook inbox through UIPATH.

An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
System.TimeoutException: The operation has timed out.
at UiPath.Mail.Activities.GetMailActivity.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

Hi Pradeep,

The following error might occurred due to two reasons:

  1. Check the programmatic access is enabled or not for this outlook account.

  2. There might be an issue with the outlook configuration in the machine you are working with once check on that front also.

Shiva Karthik

Hello @Pradeep4,

What activities did you try to read an emails?
supply values to all properties where they are mandatory.


I was facing the same issue and tried all the given resolutions. It worked for me only when i increased the TimeoutMS to 20000.