Email Config
Configure email sending with Resend.
Overview
The config/email.config.ts file configures the email provider (Resend) and sender settings.
Configuration
export const emailConfig = {
provider: "resend",
from: {
name: "My Directory",
email: "noreply@mydirectory.com",
},
}Helper functions
getFromAddress()— Returns the formatted sender address
Setup
- Create an account at resend.com
- Verify your sending domain
- Add your API key as
RESEND_API_KEYin environment variables
See Email & Notifications for details on email templates and notification types.