PHPackages                             ashhitch/wp-graphql-send-mail - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. ashhitch/wp-graphql-send-mail

ActiveWordpress-plugin[API Development](/categories/api)

ashhitch/wp-graphql-send-mail
=============================

Send Emails via with WPGraphQL

v1.2.0(5y ago)242.8k4[5 issues](https://github.com/ashhitch/wp-graphql-send-mail/issues)[2 PRs](https://github.com/ashhitch/wp-graphql-send-mail/pulls)GPL-3.0-or-laterPHP

Since May 4Pushed 1y ago2 watchersCompare

[ Source](https://github.com/ashhitch/wp-graphql-send-mail)[ Packagist](https://packagist.org/packages/ashhitch/wp-graphql-send-mail)[ RSS](/packages/ashhitch-wp-graphql-send-mail/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (4)Dependencies (1)Versions (7)Used By (0)

WPGraphQL Send Email Plugin
===========================

[](#wpgraphql-send-email-plugin)

[![WPGraphQl Yoast SEO Plugin](./banner.png)](./banner.png)

One of the simple things about a traditional WordPress sites is sending emails, this plugin makes it easy to do this via a simple mutation when you are using WPGraphQL.

### Features

[](#features)

- Set list of allowed origins in admin
- Set CC address in admin
- Set default From address in admin

Composer
--------

[](#composer)

```
composer require ashhitch/wp-graphql-send-mail

```

Usage
-----

[](#usage)

```
mutation SEND_EMAIL {
  sendEmail(
    input: {
      to: "test@test.com"
      from: "test@test.com"
      subject: "test email"
      body: "test email"
      clientMutationId: "test"
    }
  ) {
    origin
    sent
    message
  }
}

```

To try stop unauthorised emails you can set a list of domains that can send emails through the mutation.

These are set under `Settings > WPGraphQL Mail` from your WordPress Admin

Support
-------

[](#support)

[Open an issue](https://github.com/ashhitch/wp-graphql-send-mail/issues)

Other WpGraphQl Plugins
-----------------------

[](#other-wpgraphql-plugins)

Want to get Yoast data via WPGraphQL? [Checkout my other plugin](https://github.com/ashhitch/wp-graphql-yoast-seo)

Mail Icon by [Good Ware](https://www.flaticon.com/authors/good-ware)

Find this useful?
-----------------

[](#find-this-useful)

[![Buy Me A Coffee](https://camo.githubusercontent.com/9f44ce2dc3b3eecdd02598900866ffc518801df1932849703dae1e5ce5031070/68747470733a2f2f7777772e6275796d6561636f666665652e636f6d2f6173736574732f696d672f637573746f6d5f696d616765732f6f72616e67655f696d672e706e67)](https://www.buymeacoffee.com/ashhitch)

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance28

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~67 days

Total

5

Last Release

1938d ago

Major Versions

v0.0.2 → v1.0.02020-08-06

### Community

Maintainers

![](https://www.gravatar.com/avatar/9bafcf443fb9a8c4ec5a92afd854c7609c82c968c7b571630089006b7a66ea4f?d=identicon)[ashhitch](/maintainers/ashhitch)

---

Top Contributors

[![ashhitch](https://avatars.githubusercontent.com/u/2438290?v=4)](https://github.com/ashhitch "ashhitch (15 commits)")

---

Tags

graphqlhacktoberfestwordpresswordpress-pluginwpgraphql

### Embed Badge

![Health badge](/badges/ashhitch-wp-graphql-send-mail/health.svg)

```
[![Health](https://phpackages.com/badges/ashhitch-wp-graphql-send-mail/health.svg)](https://phpackages.com/packages/ashhitch-wp-graphql-send-mail)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
