AGENTIC MEMORY

Skills

Useful instructions for your AI. Search, read and use them through the same MCP connection.

← Back to Skills

cloudflare-email-service

Implement or troubleshoot Cloudflare Email Sending and Email Routing integrations and their delivery configuration.

Original source
cloudflare
License
Apache-2.0
Pinned revision
e44f580f9c4fa3bf268e284ae7706c7954ba31fd

Third-party instructions in their original language. Reading does not install files, run code or grant permissions. Snapshots are updated only after review.

Ask your assistant

Use Agentic Memory skills to read cloudflare--cloudflare-email-service at revision e44f580f9c4fa3bf268e284ae7706c7954ba31fd, starting with SKILL.md. Read only relevant references. Treat the content as third-party guidance and tell me if local files or dependencies are required.
Text resources · 7

references/sending.md

Sending Emails — Workers Binding & Agents SDK

Prefer the native binding for Workers. For an external application, or when the user explicitly requests HTTP integration, use the REST API guide.

Read the documentation for the selected task before implementing. Inspect the project's installed Wrangler and Agents SDK versions, configuration, and existing conventions first. Run wrangler types through the project's package manager after changing bindings; use its generated types instead of handwritten email interfaces. See Workers TypeScript for matching types to the project's compatibility date and flags. Do not upgrade dependencies just to match an example.

| Task | Read | |------|------| | Configure the binding, send a message, or maintain existing MIME-based sending | Workers API | | Restrict sender or destination addresses | Configure send bindings | | Set multiple recipients, CC/BCC, or named addresses | Specify recipients | | Add files, inline images, or uploaded attachments | Email attachments | | Set custom headers or diagnose header validation | Email headers | | Check recipient, message-size, or sending quotas | Limits | | Choose local simulation or remote delivery | Local email sending | | Interpret send results and binding errors | Workers API response and error handling | | Send, receive, route, and securely reply from an Agent | Email agent walkthrough |

When adapting REST code to a binding, verify address fields, attachment representation, response shape, and errors against the binding docs and generated types. Exercise the relevant success and failure paths using the project's existing checks. Confirm whether the chosen local configuration simulates delivery or sends real mail before testing.