One call, every email. Receipts, resets and alerts go out over one REST call, with a timeline for every message.
// send.ts
await rasket.emails.send(
{
from: "hi@northwind.dev",
to: ["maya@example.com"],
template: { id: "receipt" },
},
{ idempotencyKey: "order-2041" },
);
em_8f2c · Your receipt
- Queued10:04:12.031
- Sent10:04:12.418
- Delivered10:04:13.207
- Opened10:06:40.992
Safe to retry.
An idempotency key means a retried request never sends the same email twice.
Every stack.
A sample for Node, Python, Rails, Go and more. One key, one POST.