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:

  1. Go to Resend and create a new account
  2. Once logged in, navigate to the API Keys section
  3. Click "Create API Key" and give it a name (e.g. "Development")
  4. Copy the api key to your .env.
RESEND_API_KEY=""

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:

  1. Sign-up welcome email
  2. Auto signup and welcome email after payment (no account needed)
  3. Feature request email
  4. Forgot password email

Exemple of email for user purchasing with no account: Supabase Prisma Connection

On this page