Email Config

Configure email sending with Resend.

Overview

The config/email.config.ts file configures the email provider (Resend) and sender settings.

Configuration

config/email.config.ts
export const emailConfig = {
  provider: "resend",
  from: {
    name: "My Directory",
    email: "noreply@mydirectory.com",
  },
}

Helper functions

  • getFromAddress() — Returns the formatted sender address

Setup

  1. Create an account at resend.com
  2. Verify your sending domain
  3. Add your API key as RESEND_API_KEY in environment variables

See Email & Notifications for details on email templates and notification types.