backend/.env
RESEND_API_KEY=re_xxxxxxxxx
RESEND_FROM="SaaS Starter Kit <noreply@yourdomain.com>"
RESEND_REPLY_TO=support@yourdomain.com
EMAIL_MAX_RETRIES=3
EMAIL_RETRY_DELAY_MS=1000

  1. backend
    pnpm test:email you@example.com
    # [OK] Email accepted by Resend (message id: 4ef9...)
    #      Check the recipient inbox and the Resend dashboard logs.

[FAIL] RESEND_API_KEY is not set in backend/.env
invalid_api_key / 401 Unauthorized
validation_error or invalid_from_address
Email accepted but never arrives
429 or 5xx from Resend
Log shows “EMAIL (fallback …)”

0/50%