Log In
Sign Up
All Posts
Courier Live: Branding and white-labeling email notifications-header
COURIER LIVELIVE STREAMING

Courier Live: Branding and white-labeling email notifications

Aydrian Howard

August 05, 2020

During our July 29th Courier Live, I was joined by our Head of Customer Success, Nate Munger. Together we discussed our new Brands feature set and walked through using it to send an email.

Check out the video below to watch us:

  • Create a Brand using the Courier Designer

  • Create a Brand using the Courier Brands API using our Python SDK

  • Create a Booking Confirmation notification to use with our new brands

  • Send the notification using multiple brands with the Python SDK 

Be sure to Like the video and Subscribe to our YouTube channel.

Grab the Code

During this stream, we used Python to create our Foxhub brand.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 import pprint from trycourier import Courier from trycourier.exceptions import CourierAPIException pp = pprint.PrettyPrinter(indent=2) client = Courier() brand_settings = { 'colors': { 'primary': "#f02700", 'secondary': "#ff5f39", 'tertiary': "#000000" }, 'email': { 'header': { 'barColor': "#f02700", 'logo': { 'href': "https://foxhub.io", 'image': "https://i.imgur.com/j3FDeA2.png" } }, 'footer': { 'markdown': "Follow us on Social!", 'social': { 'facebook': { 'url': "https://facebook.com/foxhub" }, 'twitter': { 'url': "https://twitter.com/foxhub" } } } } } brand_snippets = { 'items': [ { 'format': "handlebars", 'name': "tagline", 'value': """<!-- block title --> <style> .hero { font-size: 24px; } </style> <div class="hero">Doing done well</div>""" } ] } try: resp = client.create_brand( id="FOXHUB", name="Foxhub", settings=brand_settings, snippets=brand_snippets ) pp.pprint(resp) except CourierAPIException as err: print(err.message)

Check out this Gist to see this script and others used during the stream.

Is there something you’d like to see us do using Courier? Let us know and it might be the subject of our next Courier Live. We stream a new Courier Live every Wednesday at noon Pacific. Follow us on Twitch to be notified when we go live.

-Aydrian

Subscribe

More from Courier Live

April 2021 Courier Live Release Notes Thumbnail
COURIER LIVE

Courier April Product Release Updates: In-app Inbox, Preferences, and Automations

In this update, Aydrian and Nate (Head of Customer Success) as cohosts cover what is new with the in-app...

Aydrian Howard

May 20, 2021

Courier Live Thumbnail
COURIER LIVE

Courier Live: Content, Notifications, and IoT

On February 2nd and 3rd, Shy Ruparel joined Aydrian for another Courier and Contentful crossover stream....

Aydrian Howard

February 10, 2021

Build your first notification in minutes

Send up to 10,000 notifications every month, for free.

Email & push notification

Build your first notification in minutes

Send up to 10,000 notifications every month, for free.

Email & push notification

Product

© 2021 Courier. All rights reserved.