Get Online/Web Version Outlook Emails


I want to be able to read emails from an Outlook inbox. Usually Get Outlook Emails would be perfect, but I can only use the online version and not the application.

I tried using a Get IMAP Activity. And got the proper port/server. I asked my admin if IMAP access was enabled for our Office365 and he said yes. I ensured my credentials were correct but I keep getting the error:

[‎7/‎8/‎2019 7:55 AM]

Get IMAP Mail Messages: LOGIN failed.
An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:

MailKit.Security.AuthenticationException: LOGIN failed.

   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) 

Any of ideas on what I can do next? I have to use the web version of Outlook and need to find a way to read emails from an Outlook inbox. I’m open to anything, I just thought IMAP would work for this.

Thank you.

Here’s my demo workflow:
Main.xaml (7.2 KB)

Hi @rmckinnon,
You can try with POP3 as well. Maybe this will be able to get your emails.