DEV Community

Cover image for Introducing stencil.email
Valentin Radu
Valentin Radu

Posted on

1 1

Introducing stencil.email

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!',
})
Enter fullscreen mode Exit fullscreen mode

Check out the repo for examples and the list of customizable features.

Hope it helps someone out there!

Top comments (0)

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay