Repository navigation
fix(inquiry): CC chemmariasherman@gmail.com on every inquiry - #755
Merged
Merged
Conversation
Josh's preference 2026-05-18 — Maria should see booking inquiries in real time alongside Josh's primary inbox. The TO address stays joshua.v.sherman@gmail.com (unchanged); Maria is added as a single CC recipient. Implementation: - New module-level constant INQUIRY_CC = 'chemmariasherman@gmail.com'. - sendEmail() gained an optional ccemail parameter; when present, the msg object includes a cc field per nodemailer's spec. - handleInquiry() passes INQUIRY_CC; sendEmail is otherwise unchanged for any future caller that doesn't want a CC. 70/70 tests pass. The integration test (POST /inquiry → 200) doesn't introspect the email payload, but the NODE_ENV=test short-circuit means no actual SMTP call happens in CI; manual smoke-test on staging/prod will confirm Maria receives the CC. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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
/inquiry.joshua.v.sherman@gmail.com(unchanged).INQUIRY_CC;sendEmail()gained an optionalccemailparameter;handleInquiry()passes it.Why
Josh's preference 2026-05-18 — Maria should see booking inquiries in real time alongside Josh's primary inbox so she's looped in on incoming gig requests without a forwarding step.
Test plan
Bundles cleanly with PR #753 (the nodemailer swap) since both touch the same controller. Should be in the same dev → master release window.
🤖 Generated with Claude Code