Surface channel delivery failures on agent replies instead of swallowing them

The previous fix made a broken SMTP/Telegram account non-fatal — the
reply gets recorded either way now — but that also made delivery
failures completely invisible: an agent sees their reply "sent"
successfully with no indication the customer never actually received it.
Added messages.deliveryFailed, set whenever the outbound send throws, and
a warning badge on the message bubble so this is now visible instead of
silent.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Gh2UXUQUVBWroWEnn1FLFG
This commit is contained in:
ogrechkoandClaude Sonnet 5 committed 2026-10-07 08:26:54 +00:00
1 parent 8d1f91187a
commit b92d9801ff
8 files changed
+1258 -14

No files matched your search

@@ -0,0 +1 @@
ALTER TABLE `messages` ADD `delivery_failed` integer DEFAULT false NOT NULL;