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.
- 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=
- 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.
- You can also add a custom domain for your emails, just go to the Resend (opens in a new tab) and verify your domain.