Check mail delivery
delivery_checkUse this when the user asks whether mail from a domain will reach Gmail or Outlook, or why it is rejected or goes to spam, such as "will Gmail accept mail from example.com sent from 203.0.113.7?". Pass the domain, the sending IPv4 address if known, the return-path domain (mail_from) if known and, optionally, up to 5 DKIM selectors. Returns one verdict (likely_accepted, at_risk, likely_rejected or incomplete) with a verdict per provider, the top 3 causes each with one fix, the exact SPF and DMARC records to paste (records_to_paste) and the DKIM steps for the detected mail provider (fix_steps), every rule checked with its official source link (SPF for the IP, DKIM, DMARC, reverse DNS, blocklists), the 6 blocklists with their terms links, what was not checked, and the source and as_of date. Gmail and Outlook are always both reported, so there is no provider argument. It reads public DNS and free blocklists only: it sends no test message and cannot see sender reputation, so it does not promise inbox placement.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | The domain in the From address, such as "example.com". A web address or an email address is reduced to its domain. | |
| mail_from | No | The return-path domain, which receivers test SPF on: the domain after @ in the Return-Path header of a sent message, or smtp.mailfrom in its Authentication-Results, such as "send.example.com". Optional: when omitted, SPF for sending_ip is tested on the From domain, then on the usual return-path names under it (send, bounce, bounces, mail, mg, pm-bounces). Mail providers such as Resend, Amazon SES and Postmark send with their own return-path domain. | |
| sending_ip | No | The public IPv4 address your mail is sent from, such as 203.0.113.7. Optional: without it the IP checks (SPF for the address, reverse DNS, IP blocklists) are skipped. IPv6 is not supported. | |
| dkim_selectors | No | DKIM selector names, the s= value in a DKIM-Signature header, such as ["google"]. Optional: when omitted, 10 usual selector names are tried. At most 5. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dkim | No | ||
| as_of | Yes | ||
| rules | Yes | ||
| domain | Yes | ||
| notice | No | ||
| source | Yes | ||
| status | Yes | ||
| message | No | ||
| verdict | Yes | ||
| fix_steps | No | ||
| mail_from | No | ||
| blocklists | Yes | ||
| sending_ip | No | ||
| spf_for_ip | No | ||
| top_causes | Yes | ||
| by_provider | No | ||
| not_checked | Yes | ||
| reverse_dns | No | ||
| unavailable | Yes | ||
| rule_sources | No | ||
| verdict_basis | No | ||
| records_to_paste | No |