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 today

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 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

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

1575d 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.0k101.8M2.2k](/packages/behat-behat)[phpro/grumphp

A composer plugin that enables source code quality checks.

4.3k16.7M1.0k](/packages/phpro-grumphp)[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k42.5M40.8k](/packages/orchestra-testbench)[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1189.8k](/packages/rcsofttech-audit-trail-bundle)

PHPackages © 2026

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