← back to Astek Landing
Declare message_class transactional on george send (TK-10944)
b545d0f761dcb664225247f1038ed94492ed07bb · 2026-08-29 04:13:23 -0700 · Steve
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 b545d0f761dcb664225247f1038ed94492ed07bb
Author: Steve <steve@designerwallcoverings.com>
Date: Sat Aug 29 04:13:23 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,
← 687794c auto-data-snapshot: 2026-08-25T11:28:19 (1 data files) — dat
·
back to Astek Landing
·
auto-data-snapshot: 2026-09-03T02:13:49 (1 data files) — dat 8710eba →