SMTP for everything that can't call an API.
Point your app's mail settings at coss.com, and each message becomes an API send.
smtp.coss.com:465
import nodemailer from "nodemailer";
const transport = nodemailer.createTransport({
host: "smtp.coss.com",
port: 465,
secure: true,
auth: { user: "coss", pass: process.env.COSS_API_KEY },
});
await transport.sendMail({
from: "Acme <hello@acme.com>",
to: "ada@example.com",
subject: "Welcome",
html: "<p>Thanks for signing up.</p>",
});- AUTH PLAIN ••••••••
- 235 Authentication successful
- MAIL FROM:<hello@acme.com>
- RCPT TO:<ada@example.com>
- DATA
- 250 2.0.0 OK queued as email_01k7c8…
- queued
- email.sent
- email.delivered
Works with what already speaks SMTP
Log in as coss with an API key, and that key is checked again on every message.
Read the docsMail settings
Set the API's fields from headers
Categories, tags, tracking, schedules and idempotency all work over SMTP.
Read the docsHeaders read, never sent on
| Header | API field |
|---|---|
| X-Coss-Category | category |
| X-Coss-Tags | tags |
| X-Coss-Tracking | tracking |
| X-Coss-Scheduled-At | scheduled_at |
| X-Coss-Idempotency-Key | Idempotency-Key |
| X-Coss-Subaccount | subaccount |
Replies your client can act on
- 451 4.3.0Temporary, so it retries
- 550 5.7.1An unverified sender, say
One message's recipients
- To
- ada@example.com
- Cc
- grace@example.com
- bcc
- audit@acme.com
Bcc stays private
The envelope decides who receives a message, and a Bcc'd address never moves into a visible header.
Read the docsPricing and limits
Email sent over SMTP is billed per recipient, like any email. Full details in the docs.
PricingSee all plans
$0.40per 1,000 recipients, first 1,000,000
- 1,000,001 to 10,000,000
- $0.30
- Above 10,000,000
- $0.22
The Free plan includes
- 3,000 email recipients a month
Paid plans start at $25/month, credited against usage.
Limits
- Host
- smtp.coss.com
- Implicit TLS
- 465, or 2465
- STARTTLS
- 587, or 2587
- Authentication
- PLAIN or LOGIN, after TLS only
- Username
- coss
- Recipients per message
- 50
- Message size
- 40 MB
- Custom headers sent on
- 15
- Attachments
- 20 files, 25 MB combined
Questions
Host smtp.coss.com, port 465 for TLS from the first byte or 587 for STARTTLS, username coss, and an API key as the password. If your host blocks outgoing 465 and 587, ports 2465 and 2587 work too.
No. Each message becomes the same request as POST /v1/emails, so it gets the same sender checks, suppressions, quotas, tracking, webhooks and logs, and shares its API key's rate limit and the organization's send quotas with API sends.
In the Supabase dashboard, open Authentication, then Emails, then SMTP Settings, and turn on custom SMTP with host smtp.coss.com, port 465, username coss, a live API key as the password, and a sender address on your verified domain.
Yes. The X-Coss-Category, X-Coss-Tags, X-Coss-Tracking, X-Coss-Scheduled-At, X-Coss-Idempotency-Key and X-Coss-Subaccount headers set the API's fields. coss.com reads them and never sends them on.
Yes. The envelope decides who receives a message, and envelope recipients not named in the To or Cc headers become Bcc. coss.com never moves a Bcc'd address into a visible header, so a message with no To recipient is refused.
No. Authentication is refused before TLS, so use port 465 for implicit TLS or 587 with STARTTLS.
Works with
On the same key, SDK, webhooks and logs: nothing more to set up.
Compared
Start with SMTP relay today.
Development keys record every request and event and deliver nothing.