Tutorials
Emails

For Emails we have used Resend (opens in a new tab) which is great service for sending emails.
So just go ahead and create a free account.

Now let's setup Emails in your application.


  1. Go to the Resend (opens in a new tab) and create a new api key and update it in the .env file.
.env
RESEND_API_KEY=

  1. Now, if you test your authentication flow, you will get an email for verification. You can customize the email template in the src/emails folder.

  1. You can also add a custom domain for your emails, just go to the Resend (opens in a new tab) and verify your domain.