Email Sending now in public beta
Key Points
- Workers API: env.EMAIL.send()
- Supports attachments and inline images
- Integrates with Agents SDK and Wrangler
Summary
Email Sending is now in public beta. You can send transactional email directly from Workers using env.EMAIL.send() or via the REST API. Supported payloads include HTML and plain-text bodies, attachments, inline images, and custom headers. Email Sending joins Email Routing under the Cloudflare Email Service and integrates with the Agents SDK (native onEmail hook), the Email MCP server, and Wrangler CLI commands. The feature is available on the Workers paid plan—see the Email Service documentation to get started.
Key Points
- Send from Workers: call
env.EMAIL.send({ from, to, subject, html, text, attachments, headers })inside a Worker. - REST API: use the REST endpoint to send email from non-Worker environments.
- Payload features: HTML, plain text, attachments, inline images, and custom headers are supported.
- Integrations: Agents SDK (onEmail), Email MCP server, and Wrangler CLI allow receiving, processing, and sending email from agents and CLIs.
- Availability: public beta; requires the Workers paid plan. Follow the Email Service docs for setup, domain verification, and examples.