Gmail issue



Hi Team
i got an following error !!!

Main has thrown an exception

Source: Get POP3 Mail Messages

Message: Authentication failed.

Exception Type: AuthenticationException

MailKit.Security.AuthenticationException: Authentication 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)

can any one clarify where i’m gone wrong

Edit: removed attachment for time being.


Have you enabled the pop3 settings in your email?
If not, kindly use this link and follow the instructions.

And yes, you may receive one email to allow that authentication from third party applications whenever you are trying to run your workflow.



Hi @chintu,

Please check your workflow, as you should not disclose your credentials in public.

Hope you will understand the risk.



Hi @jibanjyoti
just for the testing purpose the i gave credential directly !!!

next time i wont do that mismatch


Hi @jibanjyoti
After enabling the pop up same issue occurs
do i need to configure anything else ?
do i need to configure gmail application in my system ?


Hi @chintu,

Please go through the following link.

Make sure you have completed all the steps listed in this link.