Skip to content

mail-foundation

Defines the mailTransport extension point and a per-tenant provider config key that selects which registered transport plugin to use at runtime. Call createTransportForTenant(ctx, tenantId) to get an EmailTransport ready for sending — use this feature together with at least one mail-transport-* feature; use delivery + channel-email instead when you need the full notification pipeline with delivery attempts and user preferences.

  • Requires: config
  • Activation: always on (not toggleable)

Per-tenant config keys, set via the tenant-admin UI or a seed. 🔒 = encrypted at rest.

| Key | Type | Default | Scope | Who can write | Who can read | |---|---|---|---|---|---| | provider | text | "" | tenant | TenantAdmin, SystemAdmin | TenantAdmin, SystemAdmin, User |