Home / Blog / Tutorial
Tutorial

How to Create a Gmail App Password for SMTP/IMAP (Step by Step)

By AutoAiMail Team2026-09-054 min read

Since Google removed "less secure app access", you cannot sign in to a third-party sending tool with your normal Gmail password. You need an app password — a 16-character code specifically for SMTP/IMAP. It takes about three minutes.

Before you start: enable 2-Step Verification

App passwords only exist once 2-Step Verification is turned on.

  1. Open your Google Account Security page.
  2. Under "How you sign in to Google", select 2-Step Verification and follow the prompts (you will confirm a phone number).
If you use a Google Workspace company account and cannot find these options, your workspace administrator must first allow 2-Step Verification in the Admin console.

Generate the app password

  1. Go to myaccount.google.com/apppasswords.
  2. Give the app a name such as AutoAiMail and click Create.
  3. Google shows a 16-character code (shown in four groups). Copy it — spaces are optional when pasting.

Connect it inside AutoAiMail

Common problems

App passwords are revocable any time from the same Google page, so rotating credentials when a teammate leaves is a one-click action.

Put this into practice — Start free

Keep reading

Ready to Let AI Find Your Customers?

Sign up free and send your first AI email in 5 minutes. No credit card required.

Start Free Now