|Project Name||Stars||Downloads||Repos Using This||Packages Using This||Most Recent Commit||Total Releases||Latest Release||Open Issues||License||Language|
|Novu||26,674||55||12 hours ago||30||July 26, 2023||311||mit||TypeScript|
|🔥 The open-source notification infrastructure with fully functional embedded notification center 🚀🚀🚀|
|Transactional Email Templates||6,657||2 years ago||12||mit||HTML|
|Responsive transactional HTML email templates|
|Hermes||2,374||8||13||2 years ago||6||September 02, 2018||29||apache-2.0||Go|
|Golang package that generates clean, responsive HTML e-mails for sending transactional mail|
|Cuttlefish||1,365||2 months ago||141||other||Ruby|
|Transactional email server with a lovely web interface|
|Djrill||334||305||2||4 years ago||24||April 15, 2016||other||Python|
|[INACTIVE/UNMAINTAINED] Djrill is an email backend and new message class for Django users that want to take advantage of the Mandrill transactional email service from MailChimp.|
|Flasho||324||6 months ago||17||mit||HTML|
|Open source customer notifications in less than 5 minutes|
|A Mailgun powered landing page to capture early sign ups|
|Express.js server that implements production-ready error handling and logging following latest best practices.|
|Mailbody||154||1||6 months ago||11||July 04, 2017||1||mit||HTML|
|Create transactional email with a fluent interface (.net)|
|An analytics dashboard and reporting tool for Mailgun and Amazon SES transactional emails.|
Send templated transactional emails using Amazon SES from BPMN processes in Zeebe.io.
Watch me code this project from scratch live on YouTube:
A common task in any modern business is to send a transactional email: a welcome email, a password reset email, a receipt.
This task worker services tasks of type
email:send. The task should have a custom header with a key
email:template with the name of the template to use. The template is used to generate plain-text and HTML email bodies with the variables from the job bound. The compiled email is then sent to the recipient using AWS SES.
The worker fetches
lastName variables from the broker.
This worker is not intended to be used as-is, as a drop-in task worker, but rather as a POC to give you an idea on how to code something like this up for your system. Making a general-purpose, reusable service takes a lot of work, and requires a lot of abstract configuration. For example: should it support Mailgun? Sendgrid? What templating variables should it support and how should it support them?
You can use this as a starter for your own transactional mail microservice, and structure it to fit your use-case.
npm i && npm i -g pino-prettyto install deps.
export ZEEBE_TXES_FROM_EMAIL=<your authorised sending address> export ZEEBE_TXES_AWS_SES_KEY=<AWS SES credential key> export ZEEBE_TXES_AWS_SES_SECRET=<AWS SES credential secret>
npm run start:dev | pino-pretty
(Obviously substituting the values in the URL).
You should receive a welcome email in your inbox from the microservice.
Watch the videos for more insight, or just read the code. Or why not both?
Packages used in this POC:
Nest framework TypeScript starter repository.
$ npm install
# development $ npm run start # watch mode $ npm run start:dev # production mode $ npm run start:prod
# unit tests $ npm run test # e2e tests $ npm run test:e2e # test coverage $ npm run test:cov
Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.
Nest is MIT licensed.