Skip to Content
MailroomMailroom home

Deliverability diagnostics

Structured findings an agent can act on — DNS, bounces, content flags.

Early access

Seed tests against provider inboxes are internal in v1. Customer-facing seed placement is a later paid feature. This endpoint is rule-based and cheap.

const { data } = await mailroom.deliverability.diagnose({
  domain_id: 'dom_…',
  // or email_id: 'eml_…'
});
{
  "status": "degraded",
  "findings": [
    {
      "code": "spf_lookup_count",
      "severity": "warning",
      "evidence": { "lookups": 12, "limit": 10 },
      "fix": {
        "type": "dns",
        "instructions": "Flatten includes so SPF stays at or under 10 DNS lookups.",
        "record": null
      }
    }
  ]
}

status is healthy | degraded | critical. Each finding has code, severity, evidence, and fix.type of dns | content | list_hygiene | volume | policy.

Checks include DNS drift, SPF lookup count, DMARC alignment, bounce and complaint rates by domain/agent/provider, bounce clustering by SMTP diagnostic, volume spikes vs a 7-day baseline, content flags, and suppressed-recipient attempt rate.

Also available as the MCP tool diagnose_deliverability.