What It Does
Lists provider-specific variables for the supported emailer backends.
When To Use
- Switching from local SMTP to managed provider.
Prerequisites
- Provider account and credentials.
Operational Note
Validate credentials, secrets, and runtime environment values before promoting changes to production.
How To Use
Nodemailer
EMAIL_NODEMAILER_URL=smtp://user:password@host:465Postmark
EMAIL_POSTMARK_SERVER_TOKEN=pm_xxxResend
EMAIL_RESEND_API_KEY=re_xxxSendGrid
EMAIL_SENDGRID_API_KEY=sg_xxxAfter selecting a provider, ensure exported provider in kit/email/emailer/src/index.ts matches the variable set.
MCP Context
capability: email_provider_config
entrypoints:
- kit/email/emailer/src/index.ts
inputs:
- selected_provider
- provider_secret
outputs:
- usable_email_transport
constraints:
- exactly one provider implementation should be active in exporter
side_effects:
- outbound email routed through selected providerAgent Recipe
- Choose provider.
- Set provider env vars.
- Confirm exporter points to provider implementation.
Troubleshooting
- If sending fails instantly, verify export/provider mismatch.
- If provider accepts requests but no email arrives, verify sender domain setup.
Related
Emails
Configure sending providers and email delivery flow.
Email Templates
Render typed React email templates from @kit/email-templates.
How is this guide?
Last updated on 3/23/2026