Skip to content

Google Workspace / Gmail

Connect Gmail or Google Workspace to BooleanSMTP with an SMTP app password or the Gmail API, then send a test email.

Last updated View as MarkdownAsk ClaudeAsk ChatGPT

BooleanSMTP connects to Gmail or Google Workspace two ways on the free plan: SMTP with an app password, or the Gmail API with your own Google Cloud OAuth app. Google retired password-only sending for both personal Gmail and Google Workspace, so one of these two is required.

  • A Google account (personal Gmail or Google Workspace) with 2-Step Verification available.
  • For the Gmail API path only: access to Google Cloud Console to create an OAuth app.
  1. In your WordPress admin sidebar, go to BooleanSMTP → Mailers.
  2. Click Add Connection and choose Google Workspace.
  3. Under Sender Settings, fill in From Email (your full Gmail/Workspace address) and From Name.
  4. Under Google Workspace Connection, choose SMTP (app password) or Gmail API (HTTPS, OAuth) — see below for each mode’s fields.
  5. Choose Credential Storage: Database, WP Config, or Environment. To keep keys out of the database, see Storing credentials in wp-config.
  6. Click Register Connection.

No Google Cloud Console needed. Turn on 2-Step Verification on your Google account (myaccount.google.com/security), then under it go to App Passwords and generate one for Mail. Choose an SMTP endpointsmtp.gmail.com:587 (TLS) is the default — and fill in App Password with the 16-character password you generated.

Use Test Email in the sidebar to confirm the connection works — see Send a test email for the steps.

  • “invalid_grant”, or the connection stops working after about a week — the OAuth consent screen is still in Testing status; publish it to In production.
  • “redirect_uri_mismatch” — the URI pasted into Google Cloud Console doesn’t exactly match the one BooleanSMTP shows on the connection form.
  • “Daily sending quota exceeded” — personal Gmail is capped at 500 emails/day, Google Workspace at 2,000/day over the API or standard SMTP; the Workspace SMTP relay above raises that ceiling.