Tutorial
8 min readWiring your product into the inbox: REST API and webhooks for email automation
The shape of the Flowmails API, when to use webhooks vs polling, and a worked example of inbound-to-ticket automation in 30 lines.
Journal
Long-form writing about self-hosted email in D1, Workers-native routing, the REST API, and the parts of the platform that show up in the security review.
Categories
Tags
2 of 22 posts match
The shape of the Flowmails API, when to use webhooks vs polling, and a worked example of inbound-to-ticket automation in 30 lines.
Cloudflare Email Routing handles inbound. For sending, you need Email Services + a Worker. Here's the REST API contract for outbound send, how the threading shape works, and how Flowmails wraps it.