Repository navigation
Conversation
The sandbox worker builds one envelope from to, cc and bcc that lists each address once, case-insensitively, so SES delivers a repeated address once and the daily allowance charges it once. A send from the transactional email API records `source: api` on the sandbox sent and blocked events, with its own blocked-event window. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
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.
Part of map #461 (sandbox sender for API sends). SA1 part 1 of 3, split from #632: the sandbox envelope and the
apisource. Sits onsbx-api/integration-node, a merge of #584 and #587. Part 2 is #637, part 3 is #638, and #633 sits on top.Problem
Merge Danger
Warning
🔴 Merge risk: high · two-way door: a revert brings back the per-copy envelope and charge
workflows-sandbox-sender.Changes
source: api, with their own blocked-event window.email.service.tstosandbox-envelope.ts(mechanical).How did you test this code?
Test seams: the worker's
executeSendEmail(email.service.test.ts).Test rationale: a repeated address across To, CC and BCC reaches SES once and is charged once, and an API send records
source: api.Proofs: the live run, cross-version run and shadow diff ran on #632, whose code equals this stack's top (part 3). Prod shape is a gap until read-only production access exists on 2026-11-02.
CI: this PR sits on an integration base until the sandbox stack (through #587) and the send stacks (through #584 and #585) reach master.
Release status
Docs update
docs/internal/workflows-email-sending-tiers.mdis updated in feat(messaging): send code emails through the sandbox sender without a domain #633.🤖 Agent context
Autonomy: Human-driven (agent-assisted)
Agent: Claude Code, Claude Opus 5.5 (claude-opus-5-5)
Skills:
/tdd,/writing-tests,/qa-swarm,/pr-description,/writing-pr-descriptionsdelivery_modeInvolvement: the SA1 review carries over from #632, whose code these three parts hold: one design pass, a 7-lens security swarm, a 4-lens fix round and one clean final read (GPT-6.1 Sol and Claude Opus 5.5). One GPT-6.1 Sol read of this part came back clean. A GPT-6.1 Sol read of the merge that took the newer base came back clean.
More context for AI agents
sbx-apiof map Map: send code-managed email templates with one PostHog call #461, Claude Code.87af9d607ca.captureBlockedcalls, from the sandbox stack, still wait with no deadline.sandbox-envelope.tsandsandboxSesRouteinemail.service.ts.🤖 Generated with Claude Code