Create and customize Courier Brands to apply consistent logos, colors, headers, footers, and social links across your email notifications.
Courier Brands let you apply a consistent look and feel to your email and inbox notifications. You can maintain a single brand or create multiple brands for white-labeling, multi-tenant apps, or different product lines. Brands are fully API-enabled via the Brands API.By the end of this tutorial you’ll have a brand configured with a logo, colors, footer, and social links, and you’ll know how to apply it to notifications.
Setting a brand as default means it automatically applies to all notifications that don’t specify a different brand. Open the brand settings and click Set as Default.
Setting a brand as the default
Every email notification uses the default brand unless you explicitly disable brands in the template settings or specify a different brand in the send request.
For more control over the email layout, select Use Custom Template in the Brand Designer. This lets you write Handlebars and HTML or MJML for the header and footer while still using drag-and-drop content blocks for the email body.
You can customize the <style> element in the <head> section of your emails. This works with both Standard and Custom template brands. See CSS Classnames for available selectors.
Snippets are reusable pieces of Handlebars code that you can call from any template block:
Create a snippet in the Brand Designer (e.g. my_snippet)
In a notification, add a Template Block and call it: {{>my_snippet}}
Using a snippet in a template block
Snippets support variables, so you can pass dynamic content into them via the send request. A snippet defined in the default brand is available in all custom brands unless the custom brand defines its own snippet with the same name.
Any brand attribute you can configure in the UI is also available as a Handlebars variable. For example, {{var "brand.social.facebook"}} renders the Facebook URL. Available variables include: