WordPress plugin intelligence profile

XOAuth Mailer for Google Workspace

Send WordPress email through Google Workspace with Google's XOAUTH2 SMTP mechanism or an App Password. No extra libraries.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.1
Current version1.0.0
WordPress coverageTested up to WordPress 7.1
Minimum stackWP 6.0 · PHP 8.0
Directory statusactive
Last directory update3 Oct 20261mo ago
Active installationsNewAdoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records XOAuth Mailer for Google Workspace version 1.0.0 as active, updated 1mo ago and tested up to WordPress 7.1.

Overview

About this plugin

XOAuth Mailer for Google Workspace replaces WordPress’s default PHP mail() with a reliable Google Workspace SMTP connection.

It is built for one job and kept deliberately small: it speaks Google’s XOAUTH2 SMTP mechanism directly on top of the PHPMailer that ships with WordPress, so there is no Composer dependency, no Google API client and no OAuth library bundled.

Features:

  • Two authentication methods: App Password (quick setup) or OAuth2 (recommended for production)
  • Full OAuth2 flow with automatic token refresh; your Google password is never stored
  • OAuth callback on its own REST API route, so other plugins’ OAuth handlers can’t intercept it
  • Live debug log with PHPMailer output
  • Test email sender with one click
  • Clean uninstall: removes all data on deletion

Why OAuth2 over App Password?

App Passwords are simpler to set up, but the App Password itself is stored in your database and works until you delete it in your Google account. With OAuth2 the plugin stores your OAuth Client ID and Secret plus a refresh token instead: your Google password is never used, access tokens expire after about an hour, and access can be revoked at any time from your Google account or from the plugin. That makes it the better choice for production sites.

php:

define( 'XOAM_APP_PASSWORD', 'your-app-password' ); define( 'XOAM_CLIENT_SECRET', 'your-client-secret' );

External services

This plugin connects to Google services to deliver your site’s email. Nothing is sent until you configure the plugin.

com)

Used for every email WordPress sends once the plugin is configured. Sent: the full message (sender, recipients, subject, body, attachments), your Google account email address, and either your App Password or an OAuth2 access token.

com)

Used only when the OAuth2 method is selected.

  • When you click “Connect Google Account”, your browser is sent to accounts.google.com with your Client ID and this site’s redirect URI.
  • After you approve, the plugin sends the authorization code, Client ID and Client Secret to oauth2.googleapis.com to obtain tokens.
  • When the access token expires (about every hour while emails are being sent), the plugin sends the refresh token, Client ID and Client Secret to oauth2.googleapis.com to get a new one.
  • When you disconnect with “Also revoke access at Google” checked, the refresh token is sent to oauth2.googleapis.com/revoke.

These services are provided by Google: Terms of Service, Privacy Policy, Google API Services User Data Policy.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • google workspace
  • email
  • gmail
  • oauth2
  • smtp
Compatibility & maintenance

Compatibility & maintenance

Tested with WP 7.1

Marked as tested with the current WordPress 7.1 release.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.1
Minimum requirementsWordPress 6.0 · PHP 8.0
Update activity3 Oct 20261mo ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.