Learn how to use emails in a gamified product experience with Trophy.
Head to the Emails page
Hit the Add Template button
Design your new template
if/else
logical operators then this will feel very famililar to you. Otherwise here’s a quick diagram to explain how it works.
One common use case for the conditional block is to conditionally show a user their streak (one of Trophy’s built-in Smart Blocks) and some streak-related motivational text only if they have an active streak. If the recipient isn’t on a streak at the time the email is sent, then a simple message is displayed instead.
Achievement Progress Chart
Achievements Unlocked
Progress Chart
Streak
{{
in any block that supports rich text, like headers, paragraphs, and buttons, and searching for your chosen variable. The editor will insert the variable code for you.
key
relates to the unique reference you set for the metric when created. You can find this in the details page for each metric.key
of words
would be accessed with a metrics.words
prefix. For example metrics.words.percentile
.code
formatting.
metrics.words.currentTotal
is 1
(singular) or greater than 1
(plural).
#plural
and #singular
to work, the first entry must be a number
variable.Head to the Emails page
Configure your domain
Set up your DNS records
Cloudflare
NameCheap
Verify DNS records
Configure your sending address
Can I send emails from my own domain?
Do you limit how many emails I can send?