Email for every user of your platform.
Give each of your users their own domains, quotas and reputation, on your one API key.
coss.email.send({ subaccount })
await ...({
: "Acme Bakery",
: "user_8812",
: { : 5000 },
});
await ..({
: "user_8812",
: "Acme Bakery <orders@acmebakery.com>",
: "customer@example.com",
: "Your order is ready",
: "<p>Come and pick it up.</p>",
});Acme Bakery
user_8812
- queued
- email.sent
- email.delivered
One user's bounces stop only that user
Rates are measured per live sub-account, and past your thresholds only that sub-account is paused.
Read the docsSub-accounts
| Name | Domain | Reputation |
|---|---|---|
| Acme Bakeryuser_8812 | acmebakery.com | good |
| Northwind Teauser_8813 | northwind.example | good |
| Bright Cyclesuser_8820 | brightcycles.example | warning |
| Sprintly Dealsuser_8827 | shared | paused |
Quotas per sub-account
A send over its quota is refused, and your other users go on sending.
Read the docsQuotas
Acme Bakery2,140 / 5,000 a day
Northwind Tea1,000 / 1,000 a day
coss.email.subaccounts.stats()
deliveredbounced
Stats per sub-account
Its recipients per day: sent, delivered, bounced, complained, failed and suppressed.
Read the docsWho sends from what
acmebakery.comOnly Acme Bakery can send from itmail.yourplatform.comshared_with_subaccounts: true
Their domain, or one of yours
Users without a domain send from one you share with them, through your organization's reputation.
Read the docsLimits
- Plans with live sub-accounts
- Scale and Enterprise
- Live sub-accounts on Scale
- 1,000
- Live sub-accounts on Enterprise
- Unlimited
- Sandbox sub-accounts
- 100 per environment, free
- Domains per sub-account
- 10
- Domains awaiting verification
- 5 at once
- Stats history
- 45 days
- Streams
- transactional email
- Addressed by
- id or your uid
Questions
One of your platform's users, inside your coss.com environment. It has its own sending domains, its own reputation at the mail provider and at coss.com, quotas you set, its own suppression list and stats, and you send for it with the same API key by naming it on each send.
Create a sub-account per customer with coss.email.subaccounts.create(), giving it your own id for that customer as uid. Then pass subaccount on each send, or the X-Coss-Subaccount header over SMTP, and the email counts toward that customer's quotas, reputation and suppressions.
Yes. Add a domain with subaccount set and the user publishes its DNS records like any domain. Only that sub-account can send from it, through its own Amazon SES tenant, so a pause there stops only that user. Users without a domain can send from one of yours that you share with sub-accounts.
coss.com measures each live sub-account's bounce and complaint rates on its own. Past the warning threshold its reputation becomes warning; past the suspension threshold, or when content screening blocks one of its emails, it is paused and only its sends are refused. Your other users keep sending, and you reinstate it once you've dealt with the cause.
Live sub-accounts need a plan with Email for platforms, and each plan sets how many you can have. Sandbox sub-accounts are free on every plan, so you can build the integration first. The pricing page lists the plans.
Yes. Sub-accounts are billed to you, your own reputation still counts everything they send, and if your organization is suspended all of them stop.
Works with
On the same key, SDK, webhooks and logs: nothing more to set up.
Start with Email for platforms today.
Development keys record every request and event and deliver nothing.