← back to Quadrille Internal
Declare message_class transactional on george send (TK-10944)
9dd52d38c202d086f0ca674da97ca69eb9e11a87 · 2026-08-29 04:13:25 -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 9dd52d38c202d086f0ca674da97ca69eb9e11a87
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Sat Aug 29 04:13:25 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,
← 5bcc6f7 nav-agent: sync v1.3 (host left-sidebar collapse on load)
·
back to Quadrille Internal
·
TK-11438: migrate postgres pool to unix socket (darwin fallb 53fad26 →