- How to enable IMAP in Gmail: Here Are the IMAP Settings You Need to Set Up Gmail
- Go to https://myaccount.google.com/security and enable the 2-Step Verification
- Then create an application password as it is mentioned here: Send SMTP Mail Message, Message: 534: 5.7.9 Application-specific password required - #2 by marian.platonov
- In UiPath Studio, for the IMAP/SMTP email activity, use the generated application password in the previous step