Platform
Docs
Solutions
ContactLog In

Start Routing Notifications Today!

Courier is a notification service that centralizes all of your templates and messaging channels in one place which increases visibility and reduces engineering time.

Sign-up

Courier Live: Branding and white-labeling email notifications-header
LIVE STREAMINGCOURIER

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

Start Routing Notifications Today!

Courier is a notification service that centralizes all of your templates and messaging channels in one place which increases visibility and reduces engineering time.

Sign-up

More from Live Streaming

Decode Launch Thumbnail
LIVE STREAMINGCOURIER

Decode: Live Workshops to Build Exceptional Notification Experiences

Live coding workshops to build exceptional notification experiences for developers.

Shreya Gupta

Shreya Gupta

February 02, 2023

Courier Live Thumbnail
LIVE STREAMINGINTEGRATIONSCOURIER

No Code Notifications powered by Segment

Danny Douglass from our engineering team joined me for our August 12th Courier Live. We discussed a No Code approach to sending notifications using Courier as a Segment destination. It took less than 30 minutes from setup to sending our first notification.

Aydrian Howard

Aydrian Howard

August 19, 2020

Build your first notification in minutes

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

Get started for free

Email & push notification

Build your first notification in minutes

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

Get started for free

Email & push notification

Platform

Users

Content

Channels

Sending

Workflows

Preferences

Inbox

Workspaces

Observability

API Status

Changelog

© 2024 Courier. All rights reserved.