XOAuth Mailer for Google Workspace
Send WordPress email through Google Workspace with Google's XOAUTH2 SMTP mechanism or an App Password. No extra libraries.
Use with caution
XOAuth Mailer for Google Worksp… works, but test it on a staging site before relying on it in 2026. Was last updated 2 months ago, and scores 60/100 on our health check.
- Tested with the latest WordPress (7.1)
- Small user base (<10 active installs)
- Very few reviews so far
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where XOAuth Mailer for Google Wo… stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| >100 | |
| gmail | >100 |
| google workspace | #56 |
| oauth2 | >100 |
| smtp | >100 |
About XOAuth Mailer for Google Workspace
From the official readme · v1.0.0Description
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.
You can keep the App Password or Client Secret out of the database entirely by defining them in wp-config.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.
Google SMTP server (smtp.gmail.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.
Google OAuth 2.0 (accounts.google.com, oauth2.googleapis.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.
Installation
- Upload the
xoauth-mailerfolder to/wp-content/plugins/ - Activate the plugin from the Plugins menu
- Go to XOAuth Mailer in the admin sidebar
App Password (Quick Setup):
- Enable 2-Step Verification on your Google account
- Go to myaccount.google.com/apppasswords > create a password named “WordPress”
- In XOAuth Mailer > Settings: enter your email, paste the app password, save
- Send a test email
OAuth2 (Recommended):
- Go to console.cloud.google.com > enable Gmail API
- Under Google Auth Platform > Audience, set the user type to Internal
- Create an OAuth 2.0 Client ID (Web application type)
- Copy the Redirect URI from XOAuth Mailer > OAuth2 tab into Google Cloud > Authorized redirect URIs
- Paste Client ID and Secret into XOAuth Mailer > Settings > save
- Go to OAuth2 tab > click Connect Google Account
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best XOAuth Mailer for Google Work… alternatives
All email plugins →FAQ
XOAuth Mailer for Google Workspace: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is XOAuth Mailer for Google Worksp… free?
Yes. XOAuth Mailer for Google Worksp… is free to download and use from the official WordPress.org plugin directory.
Is XOAuth Mailer for Google Worksp… safe to use in 2026?
XOAuth Mailer for Google Worksp… works, but test it on a staging site before relying on it in 2026. Was last updated 2 months ago, and scores 60/100 on our health check.
How many websites use XOAuth Mailer for Google Worksp…?
XOAuth Mailer for Google Worksp… is active on <10 WordPress websites and has been downloaded 425 times since it launched in October 2026. It was downloaded 84 times in the last 30 days.
Does XOAuth Mailer for Google Worksp… work with WordPress 7.1?
Yes. The developer has tested XOAuth Mailer for Google Worksp… up to WordPress 7.1.5, the latest release. It requires WordPress 6.0 or newer.
What PHP version does XOAuth Mailer for Google Worksp… need?
XOAuth Mailer for Google Worksp… requires PHP 8.0 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was XOAuth Mailer for Google Worksp… last updated?
The latest version, 1.0.0, was released on October 3, 2026 (2 months ago).
Who makes XOAuth Mailer for Google Worksp…?
XOAuth Mailer for Google Worksp… is developed and maintained by awaisirfan.
What are the best alternatives to XOAuth Mailer for Google Worksp…?
The most popular alternatives to XOAuth Mailer for Google Worksp… are WP Mail SMTP by WPForms (4M+ installs), MC4WP: Mailchimp for WordPr… (1M+ installs) and Easy WP SMTP (500K+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card
