Provider guide · Gmail

Send WordPress email through Gmail.

The settings take a minute. The part that catches everyone is the password: Gmail refuses the one you type to sign in, and wants a dedicated app password instead. Here is where to create it, what to enter, and the limits to know about.

Settings · Custom SMTP Gmail preset
  • PresetGmail
  • SMTP hostsmtp.gmail.com
  • Port587
  • EncryptionTLS
  • Usernameyour full Gmail address
  • Passworda 16-character app password

Official Gmail SMTP documentation

1 · Credentials

The Gmail app password:
the only password that works.

Google removed password sign-in for mail apps: your account password will be refused no matter how correctly you type it. An app password is the supported replacement.

An app password is a 16-character code that stands in for your account password in one specific app, your WordPress site here. Two conditions: your Google account needs 2-Step Verification switched on first, and on a Google Workspace account the option exists only if your administrator’s policy allows it.

STEP 01

Turn on 2-Step Verification

If it is not already: Google Account, Security, 2-Step Verification.

STEP 02

Create the app password

Open myaccount.google.com/apppasswords, name the app something like “WordPress”, and create it.

STEP 03

Copy the 16-character code

Google shows it once; if you lose it, delete it and create a new one.

If the app passwords page says the option is unavailable, you are usually on an account restricted to security keys, under Advanced Protection, or on a Workspace account whose admin has not enabled 2-Step Verification for users.

2 · In the plugin

The Gmail settings:
your address twice, the app password once.

Selecting the Gmail preset fills the server (smtp.gmail.com), the port (587) and the encryption (TLS). What remains is yours.

FIELD 01

Username

Your full address, you@gmail.com or your Workspace address.

FIELD 02

Password

The app password you just created, not your account password.

FIELD 03

From email

The same address you authenticated with. Gmail sends on behalf of the signed-in account, so a mismatched sender is the fast lane to spam folders, or to a rewritten From.

Save, then use Send Test Email. If the test fails with an authentication error, the app password is the first thing to re-check: create a fresh one and paste it again.

3 · Pitfalls

Gmail errors
and pitfalls.

All four below come from Google’s own documentation, and all four look like a plugin bug until you know them.

Your account password will never work

Google has switched off password-only sign-in for third-party mail apps; for Google Workspace accounts the shutdown completed in 2025. A correct account password still gets “could not authenticate”. Only an app password, which requires 2-Step Verification, is accepted.

Changing your Google password revokes app passwords

When you change your account password, Google deletes your existing app passwords, and WordPress starts failing with an authentication error out of nowhere. If sending broke right after a password change, create a new app password and paste it in; that is the whole fix.

There is a daily ceiling, and it is not huge

Google documents roughly 500 messages per day for personal accounts and 2,000 for paid Workspace accounts, with a cap of 100 recipients per message via SMTP. Plenty for a contact form, tight for a shop in the sales, wrong for a newsletter. If your volume is growing, a transactional provider such as Brevo or Amazon SES is the natural next step.

The sender address is not a free choice

Send from the address you authenticated with. Gmail only lets you use a different From if that address is verified as a “Send mail as” alias in the Gmail settings of the account, and mail from unrelated addresses is liable to be rewritten or distrusted.