Email Channel Overrides
Use the email channel override property to override channel settings such as subject, reply to, from, cc, and bcc email addresses, along with HTML and text content. These overrides will apply to all your email channels within a template.OVERRIDESOverrides occur after the render step in the notification lifecycle. This means the the rendered tab in the logs page will not show the end result for a notification that was rendered with overrides.
Data structure for the email channel override:
BCC fields need to be introduced as strings. For multiple bcc recipients, addresses need to be in comma-separated strings. Courier will transform them to arrays required by some providers.
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.