Gmail login issue


#1

Hi all,

I have a confined email account for my client i.e. gmail.gene.com for which server is imap.gmail.com because we are using this genentech mail via gmail

The steps are as follows:

First i hit gmail.com then i get this window :

again i have to enter the same username : gadip@gene.com (same as in gmail) and password : pwd

when I use get IMAP mail messages on the genentech mail I am entering the same username and password but its throwing me authentication failed exception as its not asking for password at the first go.

Its again navigated to sso.gene.com page after hitting gmail.com

Could you please provide a workaround for the same.

Thank you

Regards,
Pramila


#2

Please find the below sequence of steps to access Gmail account contents.
Generate App Password:
Generate the App Passwords to access the Gmail account.
Follow the steps to generate the password using the link:
https://support.google.com/accounts/answer/185833?hl=en

Completing the steps will generate a 16-digit key.
Use the key for accessing the Gmail account using UiPath Studio.
Enable IMAP:
Enable IMAP for the Gmail account.
Follow the steps to enable IMAP using the link:
https://www.virtru.com/faq/how-do-i-enable-imap-for-my-gmail-account-2/
Completing both the settings will enable the user to access Gmail details using the UiPath studio.

Workflow:
Add a sequence with “GET IMAP MAIL MESSAGES” activity.
Port Number: 993
Server: imap.gmail.com
Email Id: abcd@gmail.com
Password : 16-Digit key

Completing the steps will result in a similar workflow.
Retrieved all the mails and displayed the total mail counts.

Message Box Output: Reads out the total mails count in the Gmail Account.

Gmail Account Access.zip (1.9 KB)

File(s) Attached:
Workflow.