mail-delivery-observability
Installation
SKILL.md
Mail Delivery Observability
Objective
Measure mail delivery health using message-level outcomes and destination patterns instead of noisy retry log volume.
Workflow
- Identify authoritative mail logs, queue state and log rotation boundaries.
- Correlate records by queue ID and define the observation window explicitly.
- Separate unique messages from attempts/retries.
- Calculate final/current outcomes: sent, deferred, bounced and unresolved where applicable.
- Group failures by recipient domain, MX hostname/IP and normalized provider family when mapping is evidence-based.
- Separate network/pre-banner failures from SMTP
4xxand5xxresponses. - Measure queue age and retry persistence so a small stuck cohort cannot masquerade as broad failure volume.
- If multiple outbound transports exist, report direct vs relay volume and outcomes separately.
- Alert on persistent patterns and changes in unique-message rates, not isolated retry lines.
- Preserve enough timestamp/queue/MX evidence to support incident escalation without retaining unnecessary message content or recipient PII.