Network problems are preventing connection to Microsoft Exchange

I am trying to extract 3500 emails from outlook however after an hour or so it receives this error message and stops running. Anyone has any solutions? Thanks!

RemoteException wrapping System.Runtime.InteropServices.COMException: Network problems are preventing connection to Microsoft Exchange.
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)

Just to add on it works perfectly fine with lesser emails

Hy @yourfatuncle,

It it works fine with letter emails, please use the ‘Top’ argument to limit the extraction of emails.

image

Could you try it and let me know if it works?

Regards