Skip to content

[miniflare] Add backend resources for Email interaction within Local Explorer - #14876

Draft
tpmmorris wants to merge 12 commits into
cloudflare:mainfrom
tpmmorris:tmorris/email-backend
Draft

[miniflare] Add backend resources for Email interaction within Local Explorer#14876
tpmmorris wants to merge 12 commits into
cloudflare:mainfrom
tpmmorris:tmorris/email-backend

Conversation

@tpmmorris

@tpmmorris tpmmorris commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Fixes #13648
Add backend resources for Email interaction within Local Explorer

Adds storage and capture methods for emails sent from/received by a worker using durable objects for storage (in line with the new 'Observability' tab), and cdn-cgi endpoints to mimic the sending of an email to a worker. Also records actions taken by the email() handler (received, forwarded, replied, rejected, unhandled), so that they can be mapped and displayed in local explorer in a similar manner as the dash.

  • Tests
    • Tests included/updated
    • Automated tests not possible - manual testing has been completed as follows:
    • Additional testing not necessary because:
  • Public documentation
    • Cloudflare docs PR(s):
    • Documentation not necessary because: no changes are user-facing.

@changeset-bot

changeset-bot Bot commented Jul 27, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 15a7f17

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 8 packages
Name Type
miniflare Minor
wrangler Minor
@cloudflare/deploy-helpers Patch
@cloudflare/pages-shared Patch
@cloudflare/remote-bindings Patch
@cloudflare/runtime-types Patch
@cloudflare/vite-plugin Patch
@cloudflare/vitest-pool-workers Patch

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

@pkg-pr-new

pkg-pr-new Bot commented Jul 27, 2026

Copy link
Copy Markdown
@cloudflare/autoconfig

npm i https://pkg.pr.new/@cloudflare/autoconfig@14876

@cloudflare/config

npm i https://pkg.pr.new/@cloudflare/config@14876

create-cloudflare

npm i https://pkg.pr.new/create-cloudflare@14876

@cloudflare/deploy-helpers

npm i https://pkg.pr.new/@cloudflare/deploy-helpers@14876

@cloudflare/kv-asset-handler

npm i https://pkg.pr.new/@cloudflare/kv-asset-handler@14876

miniflare

npm i https://pkg.pr.new/miniflare@14876

@cloudflare/pages-shared

npm i https://pkg.pr.new/@cloudflare/pages-shared@14876

@cloudflare/unenv-preset

npm i https://pkg.pr.new/@cloudflare/unenv-preset@14876

@cloudflare/vite-plugin

npm i https://pkg.pr.new/@cloudflare/vite-plugin@14876

@cloudflare/vitest-pool-workers

npm i https://pkg.pr.new/@cloudflare/vitest-pool-workers@14876

@cloudflare/workers-auth

npm i https://pkg.pr.new/@cloudflare/workers-auth@14876

@cloudflare/workers-editor-shared

npm i https://pkg.pr.new/@cloudflare/workers-editor-shared@14876

@cloudflare/workers-utils

npm i https://pkg.pr.new/@cloudflare/workers-utils@14876

wrangler

npm i https://pkg.pr.new/wrangler@14876

commit: 15a7f17

edmundhung and others added 12 commits July 28, 2026 15:45
Compose multipart/mixed MIME for test emails sent from the local
explorer, nesting the text/html alternative inside so clients render
the body correctly alongside attachments. Attachment metadata is
parsed from inbound messages and exposed on the routing detail
endpoint so the UI can list what a message carried.

Promotes the sending-only attachment schema to a shared
email_attachment component now that routing details reference it too.
@tpmmorris
tpmmorris force-pushed the tmorris/email-backend branch from 3b09a3c to 15a7f17 Compare July 28, 2026 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Untriaged

Development

Successfully merging this pull request may close these issues.

3 participants