Send UI-managed email notifications on Medusa store events via SMTP.
Production-focused email notification plugin for Medusa v2 with event mapping, template rendering, and admin-managed delivery flows.
yarn add @sam-ael/medusa-plugin-mailer nodemailer
plugins: [{resolve: "@sam-ael/medusa-plugin-mailer",options: {},},]
MAILER_SMTP_HOST=smtp.gmail.comMAILER_SMTP_PORT=587MAILER_SMTP_USER=your-email@example.comMAILER_SMTP_PASS=your-app-passwordMAILER_SMTP_SECURE=falseMAILER_FROM_NAME_1=My StoreMAILER_FROM_ADDRESS_1=no-reply@mystore.comMAILER_TEMPLATES_DIR=src/email_templatesMAILER_SEND_CONCURRENCY=2
| Method | Endpoint | Description |
|---|---|---|
| SMTP and sender profile hints | ||
| List templates and extracted variables | ||
| List mappings (paginated) | ||
| Create mapping | ||
| Update mapping (primary) | ||
| Deprecated compatibility endpoint | ||
| Delete mapping | ||
| Manual/test email send |
yarn typecheckyarn lintyarn testyarn build
Smoke tests are available under .
MIT