Product notifications across email and SMS.

Email and SMS from one client, with one webhook endpoint and one log for both.

Read the docs
coss.email.send() + coss.sms.send()
await ..({
  : "Acme <orders@acme.com>",
  : "ada@example.com",
  : "order-shipped",
  : { : "Ada" },
});

await ..({
  : "+14155550123",
  : "+14155550199",
  : "Acme: your order 1042 arrives today.",
});

Order 1042 shipped

ada@example.com, +1 415 555 0199

delivered
  1. email.sent
  2. email.delivered
  3. sms.sent
  4. sms.delivered

One log across products

Every request, email and SMS event and webhook attempt is searchable in one place, and streams to your own tools.
Read the docs
LogsOne environment
SourceLineTime
APIPOST /v1/emails 20209:41:02
Emailemail.delivered09:41:04
APIPOST /v1/sms 20209:41:05
SMSsms.delivered09:41:09
Webhookattempt 1, 20009:41:10

One webhook endpoint

Delivery events for both channels arrive signed, retried 7 times over about 28 hours.
Read the docs
https://acme.com/webhooksHealthy
email.delivered200
sms.delivered200
email.bounced503, retrying
order-shippedv3 published
ende

{{first_name}}, your order shipped

Templates and scheduled sends

Keep content versioned and localized in coss.com, and send up to 30 days ahead.
Read the docs
Suppressions
RecipientChannelReason
linus@example.orgEmailbounce
alan@example.netEmailunsubscribe
+1 415 555 0199SMSopt_out

Opt-outs honored

Bounces, complaints and unsubscribes suppress later sends, and an SMS reply of STOP holds in every live environment.
Read the docs

Pricing and limits

Email is billed per recipient and SMS per segment, by country. Sandbox sends are free.

Email

$0.40per 1,000 recipients, first 1,000,000

1,000,001 to 10,000,000
$0.30
Above 10,000,000
$0.22

SMS

$0.0142United States, per segment

Other countries on the pricing page

The Free plan includes

  • 3,000 email recipients a month

Paid plans start at $25/month, credited against usage.

Limits
Scheduling window
up to 30 days ahead, email and SMS
Emails per batch request
100
Custom headers per email
15
Tags per email
50
Idempotency window
24 hours
Webhook retries
7 over about 28 hours
Log query range
up to 31 days
SMTP ports
465 (TLS), 587 (STARTTLS)

Questions

The products

One key, one SDK, one log for all of them.

Build it this afternoon.

Development keys record every request and event and deliver nothing.

Pricing

Add coss.com to this project: read https://coss.com/llms.txt, get a development key with `npx coss-cli init --agents`, and build and test with it.