CodePilot uses Resend to send emails. You can configure Resend in src/lib/resend.ts.
Get your Resend API key from the Resend dashboard and add it to your .env.local file:
RESEND_API_KEY=resend_api_key
The client is initialized in src/lib/email/resend.ts. You can use the client to send emails in your application.
All Emails are sent from src/util/sendEmail.ts
file.
For Email templates, we use React Email, you can modify the templates in src/components/templates/emails.