Send mail using gmail with 2FA

by

Generate App password

Go to Sign in with app passwords

Click the link “Create and manage your app passwords”.

Sign in your Gmail account.

Name the app name and press create button as per below image.

Copy the app password.

Create Power Automate Desktop Flow

Go to Power Automate Desktop, drag action “Send mail” to the workspace.

Drag action “Send mail” to workspace

Set parameter as per below image

SMTP Server: smtp.gmail.com 
FOR TLS
Security: TLS 
Port: 587
For SSL
Security: SSL
Port: 465
SMTP Username: your_email@gmail.com
SMTP Password: your_app-password (that generated from previous section)

Test the flow

Run the flow and check mail inbox

Until we meet again, Happy Automating!! 😁

Did You Enjoy this Article?

Subscription to get new articles sent to your inbox each week for FREE

Question?

If you have any questions or feedback about this article please leave a message in the comments section below.

Subscribe to get new articles sent to your inbox each week for FREE