Initial Setup
LaunchIt uses Resend with React Email for components. It makes it very easy to design and send emails that will be displayed correctly in most email clients.
Setup
web/.env
- Sign up for Resend and get your API key
- Generate your Email API Security Token by running:
- After that, go to Domains -> Add Domain, set your DNS records and verify your domain.
It is highly recommended to set up _dmarc for your domain to avoid emails going to spam.
Usage
LaunchIt uses packages/mail
for sending emails. You can find the templates in packages/mail/emails
.
To test your emails, you can use the following command:
Images from mails sent from localhost probably won’t be shown as local urls are blocked by some email clients like Gmail.