Goal
Find content risks before sending, measure delivery truth at aggregate level, and export recipient evidence for reconciliation.Prerequisites
- A StackShift API key
- A template and version for diagnostics
- Mail activity for meaningful analytics or exports
Workflow
1
Render template diagnostics with representative data before activating or sending a version.
2
Query analytics over 24 hours, 7, 30, or 90 days, or a custom range up to 90 days.
3
Filter by sender domain, template, or event and compare MTA acceptance with recipient delivery evidence.
4
Create an asynchronous recipient-delivery JSONL export, wait for ready, verify its checksum, and download it before expiry.
Rendered template diagnostics
- Checks include long or all-capital subjects, missing text or HTML, oversized HTML, and no visible content.
- Active elements, invalid or unsafe links, insecure links, missing image alternative text, and remote-image risk are reported.
- Findings have info, warning, or error severity and do not send a message.
Analytics meaning
- Summary and series cover queued, MTA-accepted, delivered, delayed, bounced, failed, suppressed, and complained recipients.
- The response also covers OTP, scheduling, batches, attachments, inbound intake, webhook reliability, comparisons, rates, template usage, and insights.
- Delivery rate is delivered divided by MTA-accepted. Delivered means recipient MX acceptance, not guaranteed inbox placement or human reading.
Recipient-delivery exports
- Exports are asynchronous
recipient_deliveryJSONL records with recipient status and SMTP disposition evidence. - Ready exports include record count, byte size, checksum, completion time, and expiry.
- Objects are encrypted with the production mail-export KMS key and removed after seven days.
Expected result
Operators can distinguish content quality, aggregate delivery health, and recipient-level SMTP evidence without conflating MTA acceptance with delivery.
Common failures
Related guides
Templates and OTP
Create versioned templates, preview and test them, send from a template, and use the built-in one-time-code challenge flow.
Events, webhooks, and timelines
List mail events, inspect per-message timelines, subscribe webhooks, rotate secrets, retry deliveries, and verify webhook signatures.
Bounces, suppressions, and reputation
Handle hard and soft bounces, workspace-scoped suppressions, sending limits, warmup stage, domain reputation, and reputation events.