company logo

Help center

Go to Smartlead.ai
API Documentation
All collectionsEmail Disconnection Errors How to connect a Gmail account to Smartlead with SMTP

How to connect a Gmail account to Smartlead with SMTP

Connect a Gmail or Google Workspace mailbox to Smartlead over SMTP and IMAP using a Google app password and 2-Step Verification.

You can connect a Gmail or Google Workspace mailbox to Smartlead with SMTP and IMAP. You sign in with a Google app password, not your normal Gmail password.

Use this when you can't or don't want to connect with Google OAuth.

Before you start

  • You need 2-Step Verification turned on in your Google account. Google only lets you create an app password once it is on.

  • On a Google Workspace account, your admin may have turned IMAP off. Ask them to check Apps → Google Workspace → Gmail → End User Access at admin.google.com, and turn on IMAP Access.

Step 1: Turn on 2-Step Verification

  1. Open your Google account at myaccount.google.com.

  2. Click Security in the left menu.

  1. Under How you sign in to Google, click 2-Step Verification.

  1. If it is off, click Turn on 2-Step Verification.

  1. Enter your Google password, then add and verify your phone number.

  2. Click Turn On.

You see a checkmark next to 2-Step Verification on the Security tab.

Step 2: Create an app password

  1. Go to myaccount.google.com/apppasswords. You can also search for App passwords in your Google account.

  1. In App name, enter a name such as Smartlead.

  2. Click Create.

  1. Copy the 16-character password. Google shows it only once.

Step 3: Add the mailbox in Smartlead

  1. In Smartlead, go to Sender Accounts.

  2. Click Add (or Connect Mailbox if you have no mailboxes yet).

  1. Choose Smartlead's Infrastructure → SMTP.

  1. Enter your Gmail address and the app password from Step 2.

  2. Enter Google's server settings:

  • SMTP Host: smtp.gmail.com, SMTP Port: 465, SSL on

  • IMAP Host: imap.gmail.com, IMAP Port: 993, SSL on

  1. Click Verify Email Account, then Save.

Smartlead signs in to SMTP and IMAP with these details. The mailbox is added only if both logins work.

Good to know

  • Saving checks the login again. Each time you save the mailbox's settings, Smartlead tests the SMTP and IMAP login.

  • Prefer not to use an app password? Connect with Google sign-in instead. See the Google OAuth article below.

If something goes wrong

Error 534-5.7.9 Application-specific password required

You entered your normal Gmail password. Turn on 2-Step Verification, create an app password, and use that instead.

Still stuck? Contact support from the chat in your Smartlead dashboard.

Related articles

  • Google Error - Invalid login: 534-5.7.9 Application-specific password required.

  • Gmail/Google oAuth 1 Click Authentication

  • How to Connect Your Mailbox to Smartlead

Did this answer your question?
😞
😐
😁