Skip to content

feat(cloudflare): send email binding#1319

Draft
john-royal wants to merge 6 commits intomainfrom
john/cf-send-email
Draft

feat(cloudflare): send email binding#1319
john-royal wants to merge 6 commits intomainfrom
john/cf-send-email

Conversation

@john-royal
Copy link
Copy Markdown
Collaborator

@john-royal john-royal commented Feb 5, 2026

Adapted #1315 to follow Alchemy conventions for bindings, account for local development, and use (what I believe to be) the correct Cloudflare API for bindings.

Treats SendEmail as an object that you call and pass in as a binding rather than a separate property*. For example:

const worker = await Worker("my-worker", {
  bindings: {
    EMAIL: SendEmail({
      allowedDestinationAddresses: ["john@chipotle.co.uk"]
    })
  }
});
  • Still a separate property in wrangler.jsonc.

Tasks

  • Remote implementation
  • Local implementation
  • Docs and tests (will throw at Claude)
  • Scope (discuss at standup)

@john-royal john-royal self-assigned this Feb 5, 2026
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Feb 5, 2026

Open in StackBlitz

npm i https://pkg.pr.new/alchemy-run/alchemy@1319

commit: 8aa5c92

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 5, 2026

🚀 Website Preview Deployed

Your website preview is ready!

Preview URL: https://f53854fa-alchemy-website.alchemy-run.workers.dev

This preview was built from commit ebeaf83


🤖 This comment will be updated automatically when you push new commits to this PR.

@JorgeVV
Copy link
Copy Markdown

JorgeVV commented Mar 20, 2026

I can confirm this is working perfectly for me

@kytokev
Copy link
Copy Markdown

kytokev commented Apr 8, 2026

Hi! Is there an ETA on when this will be merged to main? Currently using this in a project with Wrangler and I'm converting all the infrastructure logic to Alchemy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants