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.6.2(1mo ago)232.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 1mo 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 3w ago

READMEChangelog (8)Dependencies (2)Versions (11)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

50

—

FairBetter than 95% of packages

Maintenance85

Actively maintained with recent releases

Popularity29

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity62

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 ~275 days

Recently: every ~483 days

Total

9

Last Release

51d ago

Major Versions

v0.0.2 → v1.0.02020-08-06

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2438290?v=4)[Ash Hitchcock](/maintainers/ashhitch)[@ashhitch](https://github.com/ashhitch)

---

Top Contributors

[![ashhitch](https://avatars.githubusercontent.com/u/2438290?v=4)](https://github.com/ashhitch "ashhitch (22 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

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)[matepaiva/wp-graphql-crb

Wordpress wrapper to expose Carbon Fields to WpGraphQL queries

248.6k](/packages/matepaiva-wp-graphql-crb)

PHPackages © 2026

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