feat(web): make local email capture browser-open configurable - #4854
Merged
Conversation
…AL_EMAIL_OPEN_BROWSER Locally captured emails (dev outbox) always opened in a browser tab. Set LOCAL_EMAIL_OPEN_BROWSER=false to keep the capture on disk under dev/logs/emails/ without popping a tab. Defaults to current behavior.
Contributor
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Executive SummaryReviewed the new Files Reviewed (3 files)
Reviewed by claude-sonnet-5 · Input: 16 · Output: 2.2K · Cached: 278.5K Review guidance: REVIEW.md from base branch |
iscekic
enabled auto-merge (squash)
July 29, 2026 10:21
jeanduplessis
approved these changes
Jul 29, 2026
This was referenced Jul 29, 2026
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.
Summary
dev/logs/emails/) always opened in a browser tab viaopen/xdg-open/explorer.exe.LOCAL_EMAIL_OPEN_BROWSER: set tofalseto keep captures on disk without popping a tab. Unset keeps the current behavior (opens).ENVIRONMENT.md; covered by a new unit test.Test plan
pnpm --filter web exec jest src/lib/email-local-outbox.test.ts— 4/4 pass (default opens,falsesuppresses, open-failure still captures, metadata escaping).