From 9fdfb29893ad4f67288032a737165c4bfefdcef3 Mon Sep 17 00:00:00 2001 From: Jeff Emmett Date: Mon, 9 Mar 2026 11:30:07 -0700 Subject: [PATCH] feat: BCC team@valleyofthecommons.com on all registration/signup emails Adds BCC to application confirmation, payment confirmation, and waitlist welcome emails for team visibility over signups. Co-Authored-By: Claude Opus 4.6 --- api/application.js | 1 + api/mollie.js | 1 + api/waitlist-db.js | 1 + 3 files changed, 3 insertions(+) diff --git a/api/application.js b/api/application.js index c6f4185..348fed8 100644 --- a/api/application.js +++ b/api/application.js @@ -331,6 +331,7 @@ module.exports = async function handler(req, res) { const info = await smtp.sendMail({ from: process.env.EMAIL_FROM || 'Valley of the Commons ', to: application.email, + bcc: 'team@valleyofthecommons.com', subject: confirmEmail.subject, html: confirmEmail.html, }); diff --git a/api/mollie.js b/api/mollie.js index 622849f..b3170c2 100644 --- a/api/mollie.js +++ b/api/mollie.js @@ -210,6 +210,7 @@ async function handleWebhook(req, res) { const info = await smtp.sendMail({ from: process.env.EMAIL_FROM || 'Valley of the Commons ', to: application.email, + bcc: 'team@valleyofthecommons.com', subject: confirmEmail.subject, html: confirmEmail.html, }); diff --git a/api/waitlist-db.js b/api/waitlist-db.js index 56fb5a7..098bd08 100644 --- a/api/waitlist-db.js +++ b/api/waitlist-db.js @@ -199,6 +199,7 @@ module.exports = async function handler(req, res) { const info = await smtp.sendMail({ from: process.env.EMAIL_FROM || 'Valley of the Commons ', to: signup.email, + bcc: 'team@valleyofthecommons.com', subject: email.subject, html: email.html, });