Track your users and email them, from your code.
Identify and track from the SDK or point your Resend SDK at Cowliss, then keep segments and automations as JSON in your repo, tested before anything sends.
Mail goes from your own domain: verify it once with the DNS records the dashboard gives you. There is no shared test sender; until then cow test runs your automations with nothing sent.
import { Cow } from "@cowliss/sdk"; const cow = new Cow({ apiKey: process.env.COW_KEY!, sourceId: process.env.COW_SOURCE_ID!, onError: console.error, // a call you do not await reports here }); cow.identify({ identifiers: { userId: "user_1" }, traits: { email: "[email protected]", plan: "free" }, }); cow.track({ identifiers: { userId: "user_1" }, event: "order.placed", properties: { orderId: "A-2291" }, }); await cow.emails.send({ to: "[email protected]", from: "Acme <[email protected]>", subject: "Your receipt for A-2291", html: "<p>Thanks for your order.</p>", });
# .env, the only change RESEND_BASE_URL=https://api.cowliss.com/resend/app_my-app RESEND_API_KEY=<your Cowliss API key> // your code, unchanged import { Resend } from "resend"; const resend = new Resend(); await resend.emails.send({ from: "Acme <[email protected]>", to: ["[email protected]"], subject: "Your receipt for A-2291", html: "<p>Thanks for your order.</p>", });
Two calls in, email out.
Your app says who people are and what they did, and segments and automations follow.
Send identify and track
One call when someone signs up, one for each thing they do.
await cow.track({ identifiers: { userId }, event: "checkout.started", });
Segments compute on write
A person joins or leaves a segment the moment their event lands.
{ "match": "all", "predicates": [
{ "kind": "event", "withinDays": 1,
"name": "checkout.started",
"op": "performed" },
{ "kind": "event", "withinDays": 1,
"name": "order.placed",
"op": "notPerformed" }
] }Automations run per person
Each person gets their own run, and every email it sends is in the delivery log.
$ cow enable abandoned-checkout abandoned-checkout is on. dlv_… abandoned-checkout → [email protected] delivered
A newsletter needs no code: make a list, paste its signup form into your site and send broadcasts from the dashboard, each email in the same delivery log; see the newsletter guide.
The dashboard, the cow CLI and the local MCP server do everything, and the hosted MCP server at https://api.cowliss.com/mcp carries the everyday tools; connect your agent.
Emails that send themselves.
Remind a checkout that stalled, welcome new signups, nudge a trial that is ending.
An automation is a short JSON file, so you, your agent or your own builder can write one.
A day of waiting runs in a second on a virtual clock with nothing sent, and nothing goes live until you turn it on.
{
"trigger": { "event": "checkout.started" },
"purpose": "marketing",
"from": "Acme <[email protected]>",
"steps": [
{ "id": "wait", "type": "waitForEvent",
"event": "order.placed", "timeout": "24h" },
{
"id": "purchased",
"type": "branch",
"if": { "var": "steps.wait.matched" },
"then": [{ "id": "done", "type": "exit" }]
},
{ "id": "remind", "type": "sendEmail",
"template": "abandoned-checkout" }
]
}$ cow test abandoned-checkout # virtual clock, nothing sent passed scenarios/abandoned-checkout.recovered.json passed scenarios/abandoned-checkout.reminded.json 2 scenarios passed. $ cow push Pushed 2 keys: abandoned-checkout …/emails/abandoned-checkout abandoned-checkout …/automations/abandoned-checkout $ cow enable abandoned-checkout abandoned-checkout is on.
Cowliss sends its own welcome, receipt and lifecycle mail through Cowliss.
Mail goes from your own verified domain, every send is checked against suppressions and, for marketing, consent, and every outcome is in the delivery log.
The DPA and the subprocessor list are public.
Start from a ready-made program.
One command adds a blueprint's automations, emails and segments to your repo, yours to edit from the first minute.
abandoned-checkout
Reminds someone who left items in their cart, twice at most.
first-order-thanks
Thanks a first-time customer, then asks how the order went once it arrives.
Free, or $9.99 a month.
Every feature on both plans. Invite your whole team at no extra cost.
$0
- 1,250 emails, or 2,500 events a month, $0.50 of usage included.
- 1 app and 1 sending domain.
- No card required.
$9.99 a month
- 37,500 emails, or 75,000 events a month, $15 of usage included.
- Up to 15 apps and 10 sending domains.
- Cancel any time.
Your contacts, a month
- 1,000 contacts
- $3.30 on Free
- 10,000 contacts
- $32.99 on Plus
- 50,000 contacts
- $184.99 on Plus
At 4 emails, 10 events and 1 automation run per contact a month, plan fee included. The Free allowance covers about 131 such contacts. The first top-up past the allowance is $10; the balance carries over month to month.
Cowliss next to the others.
One app and the same contacts, priced on each platform's public list price.
See the full comparison →Send the right email,
every time.
Free usage included every month. No card to start.