Skip to main content

1. Install dependencies

Get the react-email package and the eusend Node.js SDK.

2. Create an email using React

Start by building your email template in a .jsx or .tsx file.
email.tsx

3. Send email

Pass your template to the react prop and the eusend SDK renders it to HTML locally before sending, so the JSX never leaves your machine.
Import the email template you just built and use the eusend SDK to send it.

Try it yourself

eusend example

See the full source code.