PHPackages                             ubermanu/magento2-email - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. ubermanu/magento2-email

ActiveMagento2-module[Testing &amp; Quality](/categories/testing)

ubermanu/magento2-email
=======================

Command line tool to send Magento 2 email templates

v1.3.2(4y ago)42.2k2MITPHP

Since Nov 23Pushed 4y ago2 watchersCompare

[ Source](https://github.com/ubermanu/magento2-email)[ Packagist](https://packagist.org/packages/ubermanu/magento2-email)[ RSS](/packages/ubermanu-magento2-email/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (7)Used By (0)

Magento 2 - Email testing
=========================

[](#magento-2---email-testing)

Console commands to generate an email based on the available templates.

Install
-------

[](#install)

```
composer require ubermanu/magento2-email

```

Usage
-----

[](#usage)

List the available email templates:

```
php bin/magento email:list

```

Generate an email and send it:

```
php bin/magento email:send \
    --template customer_create_account_email_template \
    --store 0 \
    test@domain.com

```

Generate an email and dump its content:

```
php bin/magento email:dump \
    --template customer_create_account_email_template \
    --store 0

```

Variables
---------

[](#variables)

It is possible to inject variables in the generated email using a YAML file.

For example:

```
customer:
  id: 1
  name: John Doe
  email: john@example.com
  rp_token: 123456789
```

And use this data in the email:

```
php bin/magento email:send \
    --template customer_create_account_email_template \
    --vars variables.yaml \
    test@domain.com

```

Notes
-----

[](#notes)

The email should be translated according to the given store language.

It's not possible to send an email with frontend compilation enabled.
[Emogrifier](https://github.com/MyIntervals/emogrifier) won't be able to parse the generated HTML if it's not properly compiled to CSS first.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community9

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

Recently: every ~28 days

Total

6

Last Release

1529d ago

PHP version history (2 changes)v1.0PHP ~5.6.0|~7.0.0

v1.1PHP ~5.6|~7.0|~8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/bee3b2a3771b96f38ee3e2cb0f6720bd6c38ebc232bebadff61a8b4891d45f32?d=identicon)[ubermanu](/maintainers/ubermanu)

---

Top Contributors

[![ubermanu](https://avatars.githubusercontent.com/u/1533514?v=4)](https://github.com/ubermanu "ubermanu (25 commits)")

---

Tags

cliemailmagento2testing

### Embed Badge

![Health badge](/badges/ubermanu-magento2-email/health.svg)

```
[![Health](https://phpackages.com/badges/ubermanu-magento2-email/health.svg)](https://phpackages.com/packages/ubermanu-magento2-email)
```

###  Alternatives

[behat/behat

Scenario-oriented BDD framework for PHP

4.0k96.8M2.0k](/packages/behat-behat)[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k39.1M32.1k](/packages/orchestra-testbench)[mglaman/phpstan-drupal

Drupal extension and rules for PHPStan

20829.0M124](/packages/mglaman-phpstan-drupal)[spatie/phpunit-snapshot-assertions

Snapshot testing with PHPUnit

69617.9M510](/packages/spatie-phpunit-snapshot-assertions)[liip/test-fixtures-bundle

This bundles enables efficient loading of Doctrine fixtures in functional test-cases for Symfony applications

1798.3M42](/packages/liip-test-fixtures-bundle)[orchestra/workbench

Workbench Companion for Laravel Packages Development

8217.0M43](/packages/orchestra-workbench)

PHPackages © 2026

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