Lifecycle email: your app says when, Contact does the rest
Your app knows the moment: a trial ends tomorrow, someone made their first project, an account has gone quiet. It sends Contact one event, lifecycle.<name>, about that account. Contact owns the template, whether this person may get it, the unsubscribe and the delivery, and sends it once.
{
"id": "evt_91c4",
"type": "lifecycle.trial_ending",
"created_at": "2026-11-23T09:00:00Z",
"data": {
"account_ref": "acct_41",
"sub": "u_8k2…",
"once_key": "trial_2026_11"
}
}What it does
Lifecycle email in Programmable Contact
One event per moment
POST /api/v1/events with type lifecycle.trial_ending (or any name) and the account. A key bound to the app sends it; the event's id makes a retry harmless.
A template per app and event
Each template belongs to one app and one event name and is sent under one of that app's lifecycle topics, with the workspace brand and merge fields, your own fields included.
Once per person
A template goes to a person once. When you mean once per trial or once per invoice, send a once_key in the event and it becomes once per person per key.
Only to account holders
It goes only to someone with a current account in that app who hasn't turned the topic off, checked at the moment of sending.
Preview, test and counts
The Lifecycle page previews each template, sends you a test and shows how many were sent.
Existing opt-outs come along
If your app already had a way to turn tips off, import those opt-outs as stops on the app's tips topic first, so nobody who stopped starts getting mail again.
How it works
- 1
Connect the app
Make an API key bound to the app with the events:write scope, and send its accounts.
- 2
Write the template
On the Lifecycle page, pick the app, the event name and its topic, and write the words.
- 3
Send the event
Your app posts lifecycle.<name> when the moment comes. The answer says whether it was sent, and if not, why.
- 4
People can stop it
Every lifecycle email has the preference link and one-click unsubscribe for that app's topic.
Good to know
- Not queued for later
- If a template is off, the sender is missing, the domain is paused or a ceiling is reached, the event is acknowledged and nothing is sent: the moment has passed.
- Not for essential mail
- Receipts, password resets and security notices stay in your app. Contact refuses a send that isn't tied to a topic.
- Your app decides when
- Contact doesn't watch product usage itself; it acts on the events your app sends.
- Counts toward your allowance
- Lifecycle emails sent to real people count toward the monthly allowance; at the limit they are refused rather than queued.
Questions
What is lifecycle email?
Email sent because of something in a person's account rather than to a whole list: welcome, setup nudges, a trial ending, a win-back. In Contact your app sends the moment as an event.
Do lifecycle emails need a yes like a newsletter?
They go to people with an account in that app, until they turn the topic off. Marketing topics, by contrast, need a recorded yes.
How do I stop sending the same email twice?
You don't have to: a template goes to a person once, or once per once_key when you send one.
Can I preview with real data?
Previews and tests fill merge fields with a sample person, so no one's data is sent to you.
Read next
- Sequences
- For companies with several products
- The events API
- Webhooks
- Contact vs Customer.io
- Contact vs Loops
- All features
Checked against the product on .
Every plan has all of it.
Plans differ only in how many contacts you keep and how much email you send.