GSuite | Gmail SMTP/IMAP

How to Add and Configure Google Workspace Mailboxes Using SMTP/IMAP

We have a quick integration flow for Google Workspace accounts HERE. However, if you want to connect using SMTP/IMAP, there are a few things that you need to do in your google account for seamless integration.

Here are the steps to complete the process:

Configuration details:

SMTP: Host: smtp.gmail.com Port: 587 User: Your email address Password: Your email password

IMAP: Host: imap.gmail.com Port: 993 User: Your email address Password: Your email password

Step 1: Allow less secure apps

Head to https://admin.google.com/ac/security/lsa and click "Allow users to manage their access to less secure apps".

Step 2: Allow user-level outbound gateway.

Go to https://admin.google.com/ac/apps/gmail/enduseraccess?hl=en and "Allow users to send mail through an external SMTP server when configuring a from address hosted outside of your email domain."

Important: Save before exiting.

Step 3: Allows Less Secure Apps (mailbox level)

Go to https://myaccount.google.com/lesssecureapps and toggle on.

Step 4: Enable IMAP of the mailbox.

Log in to the specific mailbox and click on settings in the top right corner.

Then go to the Forwarding and POP/IMAP settings and Enable IMAP.

IMPORTANT:

  1. Enable 2FA ( 2-Step Verification) in your google account security settings.

  2. Generate a unique password for closershq.io and use this as the password for the SMTP and IMAP.

If you have Two Factor Authentication (2FA) enabled for your account, then instead of the account password, you need to generate a unique password for ClosersHQ.

Here is a step-by-step guide on setup passwords for 2FA.

  1. Go to your Google Account.

  2. Select Security.

  3. Under "Signing in to Google," select App Passwords. You may need to sign in. If you don’t have this option, it might be because:

    1. 2-Step Verification is not set up for your account.

    2. 2-Step Verification is only set up for security keys.

    3. Your account is through work, school, or other organizations.

    4. You turned on Advanced Protection.

  4. At the bottom, click Select app and choose the app you are using (closershq.io), then click Select device and choose the device you're using. Finally, click Generate.

  5. Follow the instructions to enter the App Password. The App Password is the 16-character code in the yellow bar on your device.

Step Five: Wait for an hour and try to reconnect.

Once you've completed steps 1-3, you will be able to connect your account! We suggest waiting for at least an hour so that the setting changes have time to propagate. Sometimes this could take up to 24 hours.

If you experience any troubles, don't hesitate to contact us on chat support or email us at support@closershq.io.

Last updated