---
title: "React Email with Resend"
description: "Send emails with Vercel Functions."
url: "https://vercel.com/templates/next.js/react-email-resend"
links:
  repository: "https://github.com/resend/resend-vercel-example"
  demo: "https://github.com/resend/resend-vercel-example"
  deploy: "https://vercel.com/new/clone?demo-title=React+Email+with+Resend&demo-description=Send+emails+with+Vercel+Functions.&demo-url=https%3A%2F%2Fgithub.com%2Fresend%2Fresend-vercel-example&project-name=resend-vercel-example&repository-name=resend-vercel-example&repository-url=https%3A%2F%2Fgithub.com%2Fresend%2Fresend-vercel-example&products=%5B%7B%22type%22%3A%22integration%22%2C%22integrationSlug%22%3A%22resend%22%2C%22productSlug%22%3A%22resend-email%22%2C%22protocol%22%3A%22messaging%22%7D%5D&demo-image=%2F%2Fimages.ctfassets.net%2Fe5382hct74si%2F257FN7GxtXnPJ6Ti4KFrcN%2F1889af6115e2d62e049ddd8c80d9c211%2Fimage.png"
---

# React Email with Resend

Send emails with Vercel Functions.

# Resend with React Email + Next.js + Vercel

This example shows how to use Resend with React Email + Next.js + Vercel.

## Deploy your own

Deploy the example using [Vercel](https://vercel.com):

[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/resend/resend-vercel-example&project-name=resend-vercel-example&repository-name=resend-vercel-example&env=RESEND_API_KEY)

## Instructions

1. Define environment variables in `.env` file.

```sh
cp .env.example .env
```

2. Install dependencies:

```sh
npm install
# or
pnpm install
```

3. Run Next.js locally:

```sh
npm run dev
```

4. Run React Email locally:

```sh
npm run email
```

5. Submit form

## License

MIT License

## Related Templates

### [Next.js Commerce](https://vercel.com/templates/next.js/nextjs-commerce)

Starter kit for high-performance commerce with Shopify.

### [Chatbot](https://vercel.com/templates/next.js/chatbot)

A full-featured, hackable Next.js AI chatbot built by Vercel

### [Next.js Boilerplate](https://vercel.com/templates/next.js/nextjs-boilerplate)

Get started with Next.js and React in seconds.

## Related Integrations

### [Resend](https://vercel.com/marketplace/resend)

Email for developers

---

## Additional documentation

The [Vercel Knowledge Base](https://vercel.com/kb) contains guides and answers to common questions about Vercel, including deployment, framework configuration, domains, caching, and troubleshooting.
