Skip to content

fix(inquiry): CC chemmariasherman@gmail.com on every inquiry - #755

Merged
JoshuaVSherman merged 1 commit into
devfrom
fix-add-maria-cc-inquiry
May 19, 2026
Merged

JoshuaVSherman merged 1 commit into
devfrom
fix-add-maria-cc-inquiry

Conversation

@JoshuaVSherman

Copy link
Copy Markdown
Contributor

Summary

  • Adds Maria (chemmariasherman@gmail.com) as a CC on every inquiry email sent through /inquiry.
  • TO address stays joshua.v.sherman@gmail.com (unchanged).
  • Implementation: new module-level constant INQUIRY_CC; sendEmail() gained an optional ccemail parameter; 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

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>
@JoshuaVSherman
JoshuaVSherman merged commit 350e6b0 into dev May 19, 2026
2 checks passed
@JoshuaVSherman
JoshuaVSherman deleted the fix-add-maria-cc-inquiry branch May 19, 2026 00:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant