Login issue to gmail - Troubleshoot Steps


#1

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
image

Completing the steps will result in a similar workflow.
image
Retrieved all the mails and displayed the total mail counts. (Screenshots)
Message Box Output: Reads out the total mails count in the Gmail Account.
image
File(s) Attached:

Workflow.Gmail Account Access.zip (1.9 KB)


Get IMAP mail messages Activity - Sample Example