Transactional email on your own Cloudflare account.
An email API, an inbox for replies, and versioned templates. Cloudflare Email Sending on your account delivers the mail.
Connect Cloudflare by invitation or try the demo with sample data.
curl https://app.fumihq.com/v1/emails \
-H "Authorization: Bearer $FUMI_API_KEY" \
-H "Idempotency-Key: order-2048" \
-H "Content-Type: application/json" \
-d '{
"from": "billing@shop.example",
"to": "mia@north.example",
"subject": "Your receipt #2048",
"text": "Thanks for your order."
}'HTTP/1.1 202 Accepted
{
"id": "…",
"status": "queued",
"duplicate": false
}Sending
Connect Cloudflare with OAuth, verify a sender in the Cloudflare dashboard, and create an API key. Fumi runs the API and the queue. Email Sending on your account delivers the mail (Figure 2).
+---- fumi ----+ +----- your account ------+
your app -> | api -> queue | -> | email sending | -> recipient
| | | |
| inbox | <- | relay worker <- routing | <- sender
+--------------+ +-------------------------+Replies
Inbound mail takes the lower path in Figure 2. Email Routing hands it to a relay Worker in your account, which signs it and passes it to Fumi, attachments included. Replies land in one inbox (Figure 3).
- mia@north.exampleRe: Your receipt #2048
- accounts@lindgren.exampleRe: Your October invoice
- j.weber@mailbox.exampleRe: Welcome, Jonas.
- tom@okafor.exampleRe: Order #2031 has shipped
From: mia@north.example
To: billing@shop.example
Subject: Re: Your receipt #2048
Thanks. Could you also send this as a PDF? Our purchase
order is attached.
Attachment: po-118.pdfTemplates
Publish a template, then send it by id and version (Figure 4). A published version never changes, so a deploy can't alter mail already in flight.
{
"from": "hello@shop.example",
"to": "ava@example.com",
"template": {
"id": "welcome",
"version": 3,
"variables": { "name": "Ava" }
}
}From: hello@shop.example
To: ava@example.com
Subject: Welcome, Ava.
Your account is ready.
Reply to this email if
you need anything.API
Five endpoints. Keys are send-only, read-only or full, and can be limited to one domain. Retrying with the same Idempotency-Key returns the original message (Figure 5). The full contract is openapi.json.
- POST/v1/emailsSend an email
- GET/v1/emailsList emails
- GET/v1/emails/{id}Retrieve an email
- PATCH/v1/emails/{id}Reschedule an email
- POST/v1/emails/{id}/cancelCancel a scheduled email
# The same request, sent again
HTTP/1.1 200 OK
{ "id": "…", "status": "…", "duplicate": true }Pricing
Invite only, for now. There is no Fumi pricing yet. Cloudflare bills Email Sending to your account: the Workers Paid plan includes 3,000 emails a month, then $0.35 per 1,000. Already invited? Sign in.
Questions
What is Fumi?
Fumi is an email API for developers. It sends transactional email through Cloudflare Email Sending on your own Cloudflare account, collects replies in one inbox, and serves versioned templates.
How is Fumi different from Resend?
Resend sends your mail from its own sending infrastructure. Fumi sends it through Cloudflare Email Sending on your Cloudflare account, and runs only the API, the queue and the inbox.
Do I need a Cloudflare account?
Yes. You connect it with OAuth, verify a sender in the Cloudflare dashboard, and create a Fumi API key. Sending to your customers needs the Workers Paid plan.
Can Fumi receive email?
Yes. Email Routing and a relay Worker in your Cloudflare account pass inbound mail to Fumi, attachments included, and replies land in one inbox.
How much does Fumi cost?
Fumi is invite only and has no pricing yet. Cloudflare bills Email Sending to your account: the Workers Paid plan includes 3,000 emails a month, then $0.35 per 1,000.
Is there an OpenAPI document?
Yes. The full contract is published at https://fumihq.com/openapi.json.