feat(wrangler): add email.sending event subscription source#14737
Open
ttoino wants to merge 1 commit into
Open
feat(wrangler): add email.sending event subscription source#14737ttoino wants to merge 1 commit into
ttoino wants to merge 1 commit into
Conversation
Add `email.sending` as an event subscription source for queues. `wrangler queues subscription create` now accepts `--source email.sending` with the required `--zone-id` and `--domain` flags, and `wrangler queues subscription get` renders the sending domain as the subscription resource. Co-authored-by: OpenCode <noreply@opencode.ai> Co-authored-by: claude-opus-4-8 <noreply@anthropic.com>
🦋 Changeset detectedLatest commit: 5c531cd The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
workers-devprod
requested review from
a team and
edmundhung
and removed request for
a team
July 17, 2026 08:15
Contributor
|
Codeowners approval required for this PR:
Show detailed file reviewers
|
@cloudflare/autoconfig
@cloudflare/config
create-cloudflare
@cloudflare/deploy-helpers
@cloudflare/kv-asset-handler
miniflare
@cloudflare/pages-shared
@cloudflare/unenv-preset
@cloudflare/vite-plugin
@cloudflare/vitest-pool-workers
@cloudflare/workers-auth
@cloudflare/workers-editor-shared
@cloudflare/workers-utils
wrangler
commit: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes MQ-1404 (internal).
Adds
email.sendingas an event subscription source for Queues event subscriptions.wrangler queues subscription createnow accepts--source email.sendingtogether with two new flags:--zone-id— the zone that owns the sending domain--domain— the sending domain (zone apex or a verified subdomain)Both flags are required for this source.
wrangler queues subscription getrenders the sending domain as the subscription's resource.Implementation:
EMAIL_SENDINGmember ofEventSourceTypeandEmailSendingEventSourcetypecreate.ts: parse/validate the new source and its flagsutils.ts:getSourceResourcereturns the domain for displaywranglerminor)email.sendingevent subscription source and its events are already documented at https://developers.cloudflare.com/email-service/platform/event-subscriptions/