Emails
Setup resend for receiving and sending emails.
We use Resend for sending transactional emails. It's a modern email API that's easy to use and has great developer experience.
Setup
Follow these steps to get started with Resend:
- Go to Resend and create a new account
- Once logged in, navigate to the API Keys section
- Click "Create API Key" and give it a name (e.g. "Development")
- Copy the api key to your
.env
.
Templates
Emails are pre-configured, you can access all template in lib/emails
, each templates use React Email which allow us to use React and Tailwind within email.
The following templates are available:
- Sign-up welcome email
- Auto signup and welcome email after payment (no account needed)
- Feature request email
- Forgot password email
Exemple of email for user purchasing with no account: