Cloudflare Workers
Serves the Cloudout studio, `/api`, `/v1` REST API, `/mcp` server, email compiler, and tracking links in isolated V8 compute.
No Docker containers to patch, no Redis clusters to babysit, and no multi-tenant vendor cloud holding your subscribers. Every workspace is an isolated stack of serverless Cloudflare primitives you own.
Serves the Cloudout studio, `/api`, `/v1` REST API, `/mcp` server, email compiler, and tracking links in isolated V8 compute.
Stores emails, contacts, consent timestamps, segments, campaigns, RBAC roles, and audit logs — with 30-day Time Travel & EU/FedRAMP jurisdiction.
Encrypted HTTP-only session store, rate-limit counters, and fallback media storage when R2 is omitted.
Zero-egress object storage for email images, brand assets, and 30-day automated nightly Enterprise backups.
Dispatches campaign/automation emails and outbound webhooks with exponential backoff, warm-up pacing, and dead-letter isolation.
Runs lease-locked minute schedulers for scheduled campaigns, automation steps, A/B winners, 5-min stall watchdog, and retention cleanup.
Optional private inference for copywriting, subject lines, brief-to-email drafts, compliance coaching, and 12-language translation.
Delivers authenticated MIME messages with `List-Unsubscribe-Post` headers — or runs in safe local Outbox mode during testing.
CS1.…): Verified locally inside your Worker. Zero license-server callbacks, zero telemetry.
Deep-dive architecture & cost breakdown
You pay Cloudflare directly at their published utility rates — zero markup from Expandware.
| Service | Binding | Architectural responsibility | Typical Cloudflare cost |
|---|---|---|---|
| Cloudflare Workers | Worker + ASSETS | Serves the Cloudout studio, `/api`, `/v1` REST API, `/mcp` server, email compiler, and tracking links in isolated V8 compute. | Included in Workers Paid ($5/mo base) |
| Cloudflare D1 (SQLite) | DB | Stores emails, contacts, consent timestamps, segments, campaigns, RBAC roles, and audit logs — with 30-day Time Travel & EU/FedRAMP jurisdiction. | Generous included reads/writes; pennies at scale |
| Workers KV | SESSIONS · MEDIA | Encrypted HTTP-only session store, rate-limit counters, and fallback media storage when R2 is omitted. | Included tier covers typical team traffic |
| Cloudflare R2 | MEDIA_BUCKET | Zero-egress object storage for email images, brand assets, and 30-day automated nightly Enterprise backups. | $0 egress fees; ~$0.015/GB-month |
| Cloudflare Queues | SEND_QUEUE + DLQ | Dispatches campaign/automation emails and outbound webhooks with exponential backoff, warm-up pacing, and dead-letter isolation. | Requires Workers Paid ($5/mo); $0.40/million ops |
| Cron Triggers | crons (* * * * *) | Runs lease-locked minute schedulers for scheduled campaigns, automation steps, A/B winners, 5-min stall watchdog, and retention cleanup. | Included at no extra charge |
| Workers AI | AI | Optional private inference for copywriting, subject lines, brief-to-email drafts, compliance coaching, and 12-language translation. | Pay-per-token to Cloudflare (cents per email) |
| Email Service or Resend | EMAIL / RESEND | Delivers authenticated MIME messages with `List-Unsubscribe-Post` headers — or runs in safe local Outbox mode during testing. | Billed directly by your sending provider at cost |
paceReserve rather than burning retry budgets.{
"orgName": "Acme GmbH",
"workerName": "acme-cloudout",
"publicBaseUrl": "https://email.acme.eu",
"jurisdiction": "eu",
"r2": true
}
npm run setup -- --check
Get a free Personal key in 30 seconds and run npm run setup or the GitHub Actions workflow.