Title: Mailster Gmail Integration
Author: EverPress
Published: <strong>Juni 22, 2020</strong>
Last modified: Oktober 15, 2026

---

Nggoléki Plugin

![](https://ps.w.org/mailster-gmail/assets/banner-772x250.png?rev=3748507)

![](https://ps.w.org/mailster-gmail/assets/icon-256x256.png?rev=3748507)

# Mailster Gmail Integration

 Dening [EverPress](https://profiles.wordpress.org/everpress/)

[Ngundhuh](https://downloads.wordpress.org/plugin/mailster-gmail.2.0.0.zip)

 * [Detil](https://jv.wordpress.org/plugins/mailster-gmail/#description)
 * [Mācā ulang](https://jv.wordpress.org/plugins/mailster-gmail/#reviews)
 *  [Pemasangan](https://jv.wordpress.org/plugins/mailster-gmail/#installation)
 * [Pangembangan](https://jv.wordpress.org/plugins/mailster-gmail/#developers)

 [Sokong](https://wordpress.org/support/plugin/mailster-gmail/)

## Katrangan

**Mailster Gmail Integration** adds Gmail as a delivery method for the [Mailster Newsletter Plugin for WordPress](https://mailster.co/?utm_campaign=wporg&utm_source=wordpress.org&utm_medium=readme&utm_term=Gmail).
Campaigns are sent through the [Gmail API](https://developers.google.com/workspace/gmail/api/guides/sending)
from the Google account you authorize.

Use it when you want Mailster to send from a Gmail address instead of your host’s
mail server. You connect a Google Cloud OAuth client, authorize the account once,
and Mailster uses that mailbox for delivery.

> This plugin requires [Mailster](https://mailster.co/?utm_campaign=wporg&utm_source=wordpress.org&utm_medium=readme&utm_term=Gmail)**
> 2.4.11** or newer, PHP **8.1** or newer, and a Google account. You create an OAuth
> Client ID in Google Cloud (this is not an API key). Newsletter content is sent
> to Google through the Gmail API. The plugin requests the `https://mail.google.
> com/` scope so it can send mail and read bounce messages in that mailbox. Gmail
> applies its own sending limits; Mailster’s guide notes that Gmail is a weak fit
> for large marketing lists.

#### Send Mailster campaigns with Gmail

 * **Gmail delivery method** — Choose Gmail under **Newsletter  Settings  Delivery**.
 * **Google OAuth** — Enter the OAuth Client ID and Client Secret, then authorize
   the Google account. The settings screen shows the redirect URI to paste into 
   the Google Cloud client.
 * **Sending address** — After authorization, saving settings copies the connected
   Gmail address into Mailster’s From, Reply-To, and Bounce fields.
 * **Gmail API sending** — Mailster messages are sent with `users.messages.send`
   for the authorized user. Mailster’s own DKIM signing is turned off for these 
   sends because Gmail handles authentication.
 * **Bounce handling** — The addon checks that Gmail mailbox for delivery failures
   and “please remove me” replies, then unsubscribes or bounces the matching Mailster
   subscriber and removes those messages.
 * **Redirect URL filter** — Developers can change the OAuth redirect with the `
   mailster_gmail_redirect_url` filter.

#### How it works

 1. Install and activate **Mailster Gmail Integration** next to Mailster 2.4.11+.
 2. In Google Cloud, enable the Gmail API and create an OAuth client (Web application).
    Add the redirect URI shown in Mailster’s Gmail settings.
 3. Open **Newsletter  Settings  Delivery**, select **Gmail**, paste the Client ID 
    and Client Secret, and save.
 4. Click **Authorize**, allow access in Google, and return to Mailster.
 5. Send a test email, then send Mailster campaigns through Gmail.

Setup walkthrough: [Send your newsletters via Gmail](https://kb.mailster.co/send-your-newsletters-via-gmail?utm_campaign=wporg&utm_source=Gmail&utm_medium=readme).

## Gambar conto

[[

## Pemasangan

 1. Upload the entire `mailster-gmail` folder to the `/wp-content/plugins/` directory,
    or install it from the WordPress plugins screen.
 2. Activate the plugin through the **Plugins** menu in WordPress.
 3. Make sure [Mailster](https://mailster.co/?utm_campaign=wporg&utm_source=wordpress.org&utm_medium=readme&utm_term=Gmail)
    2.4.11 or newer is installed and active.
 4. In [Google Cloud](https://console.cloud.google.com/), enable the Gmail API, configure
    the OAuth consent screen, and create a Web application OAuth client. Add the Authorized
    redirect URI from Mailster’s Gmail settings.
 5. Go to **Newsletter  Settings  Delivery**, open the **Gmail** tab, enter the Client
    ID and Client Secret, and save.
 6. Click **Authorize**, grant access to the Google account, and send a test email.

## FAQ

### Does this plugin work without Mailster?

No. This is a delivery addon for the [Mailster Newsletter Plugin](https://mailster.co/?utm_campaign=wporg&utm_source=wordpress.org&utm_medium=readme&utm_term=Gmail).
It requires Mailster **2.4.11** or newer.

### Do I paste a Gmail API key?

No. Gmail delivery uses a Google OAuth **Client ID** and **Client Secret** from 
a Google Cloud project, then an **Authorize** step so Mailster can send as that 
account. The setup guide walks through the OAuth client and redirect URI: [Send your newsletters via Gmail](https://kb.mailster.co/send-your-newsletters-via-gmail?utm_campaign=wporg&utm_source=Gmail&utm_medium=readme).

### Which address do newsletters come from?

The Gmail address you authorize. When you save delivery settings while connected,
Mailster’s From, Reply-To, and Bounce addresses are set to that account’s email 
address.

### Is email sent to Google?

Yes. With Gmail selected as the delivery method, Mailster sends the message through
the Gmail API. The OAuth consent screen requests `https://mail.google.com/` so the
addon can send mail and look in that mailbox for bounces.

### Does it handle bounces?

Yes, for mail sent with this addon. It searches the connected Gmail inbox and spam
for mail-delivery failures and list-unsubscribe replies, matches Mailster’s campaign
headers, updates the subscriber, and deletes those messages from the mailbox.

### What if Google asks me to reconnect?

If Gmail rejects the saved token, the addon clears the connection and shows a notice.
Open **Newsletter  Settings  Delivery**, check the Gmail tab, and authorize again.

### Can I change the OAuth redirect URL?

The settings screen shows the redirect URI to register in Google Cloud. Developers
can replace it with the `mailster_gmail_redirect_url` filter. The value in Google
Cloud must match the URL Mailster uses.

## Mācā ulang

![](https://secure.gravatar.com/avatar/9cabd3e189f800b275768654439566f7f3a6ad6c363ad5e93870ec20f5821225?
s=60&d=retro&r=g)

### 󠀁[Does not work!](https://wordpress.org/support/topic/does-not-work-1309/)󠁿

 [Siamajor](https://profiles.wordpress.org/siamajor/) Fébruari 26, 2021

Does not work! The problem has been known for a long time, but the developer is 
silent. Fatal error: Uncaught Error: Call to undefined function Mailster\GuzzleHttp\
Psr7\uri_for() in /home/admin/web/…../public_html/wp-content/plugins/mailster-gmail/
vendor/google/auth/src/OAuth2.php on line 1129

 [ Read all 1 review ](https://wordpress.org/support/plugin/mailster-gmail/reviews/)

## Contributors & Developers

“Mailster Gmail Integration” is open source software. The following people have 
contributed to this plugin.

Kontributor

 *   [ EverPress ](https://profiles.wordpress.org/everpress/)
 *   [ Mailster Newsletter Plugin ](https://profiles.wordpress.org/mailster/)
 *   [ Xaver ](https://profiles.wordpress.org/xaverb/)

[Translate “Mailster Gmail Integration” into your language.](https://translate.wordpress.org/projects/wp-plugins/mailster-gmail)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/mailster-gmail/), check
out the [SVN repository](https://plugins.svn.wordpress.org/mailster-gmail/), or 
subscribe to the [development log](https://plugins.trac.wordpress.org/log/mailster-gmail/)
by [RSS](https://plugins.trac.wordpress.org/log/mailster-gmail/?limit=100&mode=stop_on_copy&format=rss).

## Caathetan Owahan

#### 2.0.0

 * changed: requires PHP 8.1 or newer

#### 1.3.1

 * fixed: composer packages with PHP 8.0+

#### 1.3.0

 * fixed: issue with third party library on PHP 8.0+
 * added: `mailster_gmail_redirect_url` filter for redirect URL
 * requires now PHP 7.4+

#### 1.2

 * Fixed some typo and updated method

#### 1.1

 * Update for Mailster 3.0

#### 1.0

 * initial release

## Meta

 *  Version **2.0.0**
 *  Last updated **14 jam sing kepungkur**
 *  Active installations **1.000+**
 *  WordPress version ** 6.0 or higher **
 *  Tested up to **7.1.3**
 *  PHP version ** 8.1 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/mailster-gmail/)
 * Tags
 * [email](https://jv.wordpress.org/plugins/tags/email/)[gmail](https://jv.wordpress.org/plugins/tags/gmail/)
   [google](https://jv.wordpress.org/plugins/tags/google/)[mailster](https://jv.wordpress.org/plugins/tags/mailster/)
   [newsletter](https://jv.wordpress.org/plugins/tags/newsletter/)
 *  [Nonton lanjutan](https://jv.wordpress.org/plugins/mailster-gmail/advanced/)

## Peringkat

 1 out of 5 stars.

 *  [  0 5-star reviews     ](https://wordpress.org/support/plugin/mailster-gmail/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/mailster-gmail/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/mailster-gmail/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/mailster-gmail/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/mailster-gmail/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/mailster-gmail/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/mailster-gmail/reviews/)

## Kontributor

 *   [ EverPress ](https://profiles.wordpress.org/everpress/)
 *   [ Mailster Newsletter Plugin ](https://profiles.wordpress.org/mailster/)
 *   [ Xaver ](https://profiles.wordpress.org/xaverb/)

## Sokong

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/mailster-gmail/)