Using JSX Email
Learn how to send transactional emails with Plunk & JSX Email
JSX email enables you to build emails with a delightful developer experience. You can use the Plunk Node.js SDK with JSX email.
Transactional emails
When using JSX Email, you can use the Plunk Node.js SDK. Install it with your favorite package manager:
Install dependencies
Create a component
Use JSX email components to create a new email template. You can find plenty of examples on the samples section.
Convert and send it!
Now that you have a component, use the render
function to convert it to HTML, and send it with Plunk.
Actions
Plunk actions support JSX Email as well. You cannot use JSX Email directly, and will have to compile your JSX Email component to HTML first.
Once you have your HTML, you can paste it into the Plunk template editor and use it as a template for your actions.