FeaturesEmails
PreviousNext

Email Providers

Provider-specific environment configuration.

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.

How To Use

Nodemailer

EMAIL_NODEMAILER_URL=smtp://user:password@host:465

Postmark

EMAIL_POSTMARK_SERVER_TOKEN=pm_xxx

Resend

EMAIL_RESEND_API_KEY=re_xxx

SendGrid

EMAIL_SENDGRID_API_KEY=sg_xxx

After 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 provider

Agent Recipe

  1. Choose provider.
  2. Set provider env vars.
  3. 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.

How is this guide?

Last updated on 3/23/2026