Using monorepos? Then, we recommend following the monorepo setup.

1. Install

We recommend using create-email, which sets up everything automatically for you.

npx create-email@latest

This will create a new folder called react-email-starter with a few email templates.

2. Run locally

First, install the dependencies:

npm install

Then, run the development server:

npm run dev

3. See changes live

Visit localhost:3000 and edit any of the files on the emails folder to see the changes.

Local Development

4. Next steps

Try adding these other components to your email.