Resend setup

Resend setup

The Resend setup page mirrors the database flow: configure the provider, verify the credentials, then send a test email before saving. Secrets are written to apps/web/.env.local, which is the Next.js application root in this monorepo.

Sender config

  • API key
  • Sender address
  • Reply-to defaults
  • Branding metadata
  1. Run pnpm setup:resend from the monorepo root; it starts Next.js when needed.
  2. Open the printed URL and enter the one-time code.
  3. Paste the API key and the sender address.
  4. Send a test email.
  5. Confirm the test message looks correct.
  6. Save the integration only after the test succeeds.
  7. Press Ctrl+C to stop the web app if the setup command started it.

Test mail

The test email should be styled like a real product message, with a clear subject, branded body, and a success-focused footer so we can validate deliverability as well as rendering.

Save state

  • Persist the verified configuration only after a successful send
  • Keep the preview body around for reuse until the save completes
  • Surface the last test result in the form footer