feat: Slack alerts for chat widget escalations + support@ email polling
- notifications/slack.ts: added sendChatEscalationAlert (fires when visitor asks about pricing, demo, help, or a human) and sendSupportEmailAlert - email-poller.ts: polls support@squaremcp.com every 5 min via IMAP, deduplicates with Redis (support📧alerted_uids), fires Slack alert for each new unseen message - index.ts: detectEscalation() scans last user message for trigger phrases; chat endpoint fires alert fire-and-forget after responding; startEmailPoller() called on server boot Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -22,7 +22,7 @@ spec:
|
||||
fsGroup: 1000
|
||||
containers:
|
||||
- name: hermes-mcp
|
||||
image: localhost:32000/hermes-mcp@sha256:54488f625b5a065f3cfb30d9d0afe269dac65aadd8206652d27da034daf1dee4
|
||||
image: localhost:32000/hermes-mcp@sha256:0bd3355cc4b5a3727e56cd62364127deb8801d41f4e3b9dc48e9051e11f52b8f
|
||||
imagePullPolicy: Always
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
|
||||
Reference in New Issue
Block a user