Skip to content

Sending: add another provider (Postmark, Mailgun, ...) #10

Backlog

Description

@Hitesh-Sisara

cloudmail sends through Cloudflare Email Service, Amazon SES or Resend. Other providers are a common request, and each one is a self-contained piece of work.

What to build

One new sending provider. Say which one in a comment before you start, so two people don't build the same one.

Where

  • workers/lib/mail-transport.ts: the MailTransport interface (kind, validate, send) and resolveTransport, which picks a transport for a domain.
  • workers/lib/resend-transport.ts and workers/lib/resend-api.ts: the smallest existing provider, and the one to copy.
  • workers/lib/provider-send.ts: shared helpers for addresses, timeouts, retries and errors.
  • shared/ses-sending.ts: SENDING_PROVIDERS, the list of provider names.
  • Also touched: workers/lib/domain-sending-store.ts (stored credentials), workers/routes/domains.ts, workers/lib/openapi.ts, workers/routes/sending-webhooks.ts (bounces and complaints) and app/components/settings/DomainSendingCard.tsx.

Done when

  • A domain can be set to the new provider in Settings, and a send goes out through it.
  • Bounces and complaints from the provider's webhook reach the suppression list.
  • The provider's limits are checked in validate before any network call.
  • There are tests in the style of test/provider-transports.test.ts.

Activity

  1. added
    enhancement
    help wanted
    on Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementhelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions