- Go to your Google Account settings page: https://myaccount.google.com/
- Click on “Security” in the left-hand menu.
- Under the “Signing in to Google” section, click on “App Passwords.”
- If prompted, sign in to your Google account again.
- In the “Select app” dropdown, choose “Mail” from the list.
- In the “Select device” dropdown, choose “Other (Custom name)” and provide a name (e.g., “UiPath Email Bot”).
- Click on “Generate.”
- Google will generate an App Password for you. Note it down or copy it to your clipboard.
Now that you have the App Password, you can use it in UiPath’s “Send SMTP Mail Message” activity:
- In your UiPath workflow, open the “Send SMTP Mail Message” activity properties.
- For the “Username” field, enter your full Gmail address (e.g., your.email@gmail.com).
- For the “Password” field, paste the App Password you generated in the previous steps.
- Configure other settings in the “Send SMTP Mail Message” activity, such as the recipient’s email address, subject, body, etc.
- Save and run your UiPath workflow.
Hope it helps!!