TutorialsEmails

Set up Emails

Configure the project to send and receive emails using either Resend or Mailgun.

Choose between either Resend or Mailgun.

Don't have a domain yet? Check out the Set up Domain guide first. 🔗

Tip!

Both have the same free tier (100 emails/day), but Resend's Pro tier is offers more emails and unlimited domains for only $5/month more.



Setup

  1. Sign up for a Resend account.
  2. Go to the Domains in the sidebar and click Add Domain. Add your domain (i.e. yourdomain.com).
  3. Verify your domain by adding the DNS records provided by Resend to your domain's DNS settings.
  4. Go to API Keys in the sidebar and click Create API Key. Add this to the .env.local file as RESEND_API_KEY.