web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Send email action through Gmail SMTP

(0) ShareShare
ReportReport
Posted on by 7

Hi,

 

I think I set the action up correctly, it only fails because Gmail would require a 2FA for the first-time use.

 

When I run the Workflow, it only throws an error and does not prompt me to pass the authentication.

 

Is there a way to set this up?

 

Regards

I have the same question (0)
  • Verified answer
    v-bofeng-msft Profile Picture
    on at
    Re: Send email action through Gmail SMTP

    Hi @zsgugli ,

     

    Please try:

     

    1\Turn on IMAP

    vbofengmsft_0-1667181258231.png

     

    2\Turn on 2-Step Verification and create your app password

    1. Open your Google Account.
    2. In the navigation panel, select Security.
    3. Under “Signing in to Google,” select 2-Step Verification 
    4. Create your own app password

     

    3\Create a new SMTP connection

    • SMTP Server Address :   smtp.gmail.com
    • User Name:                     XXXX@gmail.com
    • Password:                       Your APP Password
    • SMTP Server Port:           587
    • Enable SSL:                      Yes

     

     

    Best Regards,

    Bof

  • zsgugli Profile Picture
    7 on at
    Re: Send email action through Gmail SMTP

    Small correction,

     

    2\Turn on 2-Step Verification and create your app password

    1. Open your Google Account.
    2. In the navigation panel, select Security.
    3. Under “Signing in to Google” section, select App passwords
    4. Create your own app password

     

    Thank you,

    Alex

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 614 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 401 Moderator

#3
chiaraalina Profile Picture

chiaraalina 282

Last 30 days Overall leaderboard