← back to Reidwitlin Landing
Declare message_class transactional on george send (TK-10944)
780969af3373357c81845545dfb2df48cb4a37c7 · 2026-08-29 04:13:26 -0700 · Steve Abrams
Vendor-inquiry emails (stock/price requests) are B2B transactional sends.
Explicitly declare message_class so george's sendPreflight classifies them
correctly instead of falling into the legacy-external-unclassified bucket.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Files touched
Diff
commit 780969af3373357c81845545dfb2df48cb4a37c7
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Sat Aug 29 04:13:26 2026 -0700
Declare message_class transactional on george send (TK-10944)
Vendor-inquiry emails (stock/price requests) are B2B transactional sends.
Explicitly declare message_class so george's sendPreflight classifies them
correctly instead of falling into the legacy-external-unclassified bucket.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
---
lib/vendor-requests.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/vendor-requests.js b/lib/vendor-requests.js
index cdf81fe..52ed92b 100644
--- a/lib/vendor-requests.js
+++ b/lib/vendor-requests.js
@@ -122,7 +122,7 @@ function composeEmail(type, vendor, item, reqNo) {
function georgeSend({ to, subject, body }) {
return new Promise((resolve) => {
- const payload = JSON.stringify({ account: 'steve-office', from: FROM, to, subject, body, source: 'vendor-pdp' });
+ const payload = JSON.stringify({ account: 'steve-office', from: FROM, to, subject, body, source: 'vendor-pdp', message_class: 'transactional' });
const u = new URL(GEORGE + '/api/send');
const req = http.request({ hostname: u.hostname, port: u.port, path: u.pathname, method: 'POST',
headers: { 'Content-Type': 'application/json', 'Content-Length': Buffer.byteLength(payload), 'X-Send-Approval': SEND_TOKEN,
← 1eef267 nav-agent: sync v1.3 (host left-sidebar collapse on load)
·
back to Reidwitlin Landing
·
deploy: guard prod-only runtime data from rsync --delete 62165d7 →