email field:
Available Email Providers
Email Channel Overrides
Overrides let you modify parts of an email at send time from within the Send request payload. They work with both template-based and inline (Elemental) sends, and are applied just before Courier hands the message off to the provider. There are two levels of override:- Channel overrides (
message.channels.email.override) apply to every email provider configured for the send. Use these when you want to change the subject, from address, HTML body, or add attachments regardless of which provider sends the email. - Provider overrides (
message.providers.<key>.override) target a single provider and can pass through fields specific to that provider’s API. Each provider page documents its supported override schema.
Overrides are applied after the render step in the notification lifecycle. This means the Rendered tab in the Courier logs will not reflect overrides; it shows the pre-override output. To verify the final payload, check the provider request in the Raw tab.
Available Channel Override Fields
The table below is the complete list of fields you can set inmessage.channels.email.override. All fields are optional; include only the ones you need.
Here is an example Send request with every channel override field populated:
Brand Override
Thechannels.email.override.brand property uses same schema as the API request payload for the POSTÂ /brands endpoint.
Brand elements that can be overridden:
- logo
- top bar color
- brand colors
Allowlist for AWS IP Addresses
Some email providers, such as Mailgun, offer additional security to allowlist IP addresses to access their API. Courier is hosted on AWS and does not provide an IP range in the form of an allowlist. As a workaround, users can subscribe to theAmazonIpSpaceChanged topic, and receive notifications about any changes to the AWS IP address ranges. For details, refer to the AWS documentation.