Before you can start developing, you will need to get the project setup.

To contribute to the project, you must use Node 18 or higher.

1

Clone the repository

git clone https://github.com/resend/react-email
2

Enable pnpm through corepack

inside of react-email
corepack enable
corepack prepare pnpm@latest --activate
3

Install all the dependencies

inside of react-email
pnpm install
4

Build all the packages

inside of react-email
pnpm build

Building first is crucial because each package may depend on other packages, and pre-building them will ensure that you don’t run into issues when developing.

If you plan to contribute to the docs, view our Writing docs guide for additional setup.

If you have have any trouble, please reach out on Discord or consider opening up an issue on GitHub after reading the issue guidelines.