stencil.email provides a set of 4 HTML email templates that can be quickly used in just a couple of lines of code.
All templates are:
β
Responsive
β
Customizable (colors, text, icons)
β
Tested on all major email clients
β
Ready for production
I built this because many times I just wanted to send a simple, but good looking, transactional email without having to pollute my workspace with .html
files or rely on hosted third parties.
This is all you need:
const Stencil = require('@radval/stencil')
const stencil = new Stencil('transactional')
const html = stencil.render({
heading: 'Welcome, Jane! π',
message: 'Weβve heard you like emails!',
})
Check out the repo for examples and the list of customizable features.
Hope it helps someone out there!
Top comments (0)