[object Object]

← back to Dw Pitch Followup

Stop leaking internal 'From job: dw-pitch-followup' banner onto client emails (no_source_tag:true); verified sent body is clean

cc4f468bdfb249dbeae8ad9c2a1183cc916a0dd5 · 2026-07-08 06:27:09 -0700 · Steve Abrams

Files touched

Diff

commit cc4f468bdfb249dbeae8ad9c2a1183cc916a0dd5
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Wed Jul 8 06:27:09 2026 -0700

    Stop leaking internal 'From job: dw-pitch-followup' banner onto client emails (no_source_tag:true); verified sent body is clean
---
 server.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/server.js b/server.js
index b9e2d96..6ed1a09 100644
--- a/server.js
+++ b/server.js
@@ -398,7 +398,9 @@ app.post('/api/send', async (req, res) => {
       if (r.ok) { const j = await r.json(); const m = (j.messages || [])[0]; if (m && m.id) replyToMessageId = m.id; }
     } catch { /* thread best-effort only — fall through to a fresh send */ }
 
-    const payload = { account: 'info', from: 'info@designerwallcoverings.com', to: String(to).trim(), subject, body: bodyToHtml(body, samples), source: 'dw-pitch-followup' };
+    // no_source_tag: DO NOT stamp George's internal "From job: dw-pitch-followup" banner on
+    // client-facing email — that's internal tooling info. We keep our own record in sent-log.jsonl.
+    const payload = { account: 'info', from: 'info@designerwallcoverings.com', to: String(to).trim(), subject, body: bodyToHtml(body, samples), no_source_tag: true };
     if (replyToMessageId) payload.replyToMessageId = replyToMessageId;
 
     const headers = { 'Content-Type': 'application/json', Authorization: GEORGE_AUTH };

← ff19558 yolo/contrarian fixes: build-time TODAY (fix aging bug) + 30  ·  back to Dw Pitch Followup  ·  CAN-SPAM: compliant footer (physical address 15442 Ventura B a9f7c6a →