Jump to content

Email security check

Check if a domain is set up so its emails reach the inbox and cannot be faked.

Your agent reads the email settings of a domain and explains them in plain words. It checks SPF and DMARC, which tell other mail servers what to do with fake mail. It also looks for DKIM keys and a few newer settings. You get a short list of what is missing or weak, so you know what to fix.

Paste this into your AI agent

Set up Chab for me: fetch https://www.chab.ai/agent-setup.md?v=497c0f and follow it. Then use Chab to check the email security of stripe.com and tell me what they could improve.

Your agent connects Chab and then runs it. Price: 2 credits per request. The free credits cover a first try. How it works in each app

Full reference for developers
Returns
JSON result
REST endpoint
POST /v1/seo/domains/email-security
Over MCP
Call chab_operation_start with "seo.domains.email_security"

What you get

Example request

{  "domain": "stripe.com"}

Example result

{    "domain": "stripe.com",    "mx": {        "records": [            {                "host": "aspmx.l.google.com",                "priority": 10            },            {                "host": "alt2.aspmx.l.google.com",                "priority": 20            }        ],        "accepts_mail": true,        "null_mx": false    },    "spf": {        "found": true,        "record": "v=spf1 ip4:198.2.180.60/32 ip4:13.111.2.227/32 include:spf1.stripe.com include:greenhouse-outbound-mail.stripe.com include:_spf.qualtrics.com ~all",        "policy": "softfail",        "mechanisms": [            {                "qualifier": "+",                "type": "ip4",                "value": "198.2.180.60/32"            },            {                "qualifier": "+",                "type": "ip4",                "value": "13.111.2.227/32"            },            {                "qualifier": "+",                "type": "include",                "value": "spf1.stripe.com"            },            {                "qualifier": "+",                "type": "include",                "value": "greenhouse-outbound-mail.stripe.com"            },            {                "qualifier": "+",                "type": "include",                "value": "_spf.qualtrics.com"            },            {                "qualifier": "~",                "type": "all",                "value": null            }        ],        "dns_lookups": 7,        "too_many_lookups": false    },    "dmarc": {        "found": true,        "record": "v=DMARC1; p=reject; pct=100; fo=1; rua=mailto:[email protected]; ruf=mailto:[email protected];",        "found_at": "_dmarc.stripe.com",        "policy": "reject",        "percent": 100,        "reports_to": [            "[email protected]"        ],        "failure_reports_to": [            "[email protected]"        ],        "dkim_alignment": "relaxed",        "spf_alignment": "relaxed"    },    "dkim": {        "selectors_checked": [            "google",            "selector1",            "selector2",            "k1",            "s1",            "s2",            "default",            "dkim",            "mail",            "smtp"        ],        "keys": [            {                "selector": "google",                "key_type": "rsa",                "key_bits": 1024,                "revoked": false,                "testing": false            },            {                "selector": "s1",                "key_type": "rsa",                "key_bits": 1024,                "revoked": false,                "testing": false            }        ],        "note": "DKIM keys can only be found by their selector. These are common ones; a key under another selector is not listed. The selector is in the DKIM-Signature header (s=) of a mail from the domain."    },    "mta_sts": {        "found": false    },    "tls_rpt": {        "found": false    },    "bimi": {        "found": false    },    "problems": [        "The DKIM key google has 1024 bits. 2048 bits is safer.",        "The DKIM key s1 has 1024 bits. 2048 bits is safer.",        "The DKIM key s2 has 1024 bits. 2048 bits is safer.",        "No MTA-STS policy, so other mail servers may deliver to this domain without TLS."    ],    "fetched_at": "2026-11-16T11:41:21+00:00"}

You can also run this tool on a schedule as a monitor. Chab then keeps every result and emails you when it changes. Monitors need bought credits or a monthly plan. How monitors work

Inputs

FieldTypeDetails
domainrequiredstringThe email domain, for example stripe.com.Up to 300 characters
dkim_selectorsarray of stringDKIM selectors to check, for example google or selector1. Default: ten common ones. The selector of a mail is the s= value in its DKIM-Signature header.

How to call it

AI apps use it through hosted MCP. Coding agents can also use the CLI, and your own code can call the API. Each call starts a job, and your agent picks up the result when it is ready.

curl -X POST https://www.chab.ai/v1/seo/domains/email-security \  -H "Authorization: Bearer CHAB_API_KEY" \  -H "Content-Type: application/json" \  -H "Idempotency-Key: seo-domains-email-security-001" \  -d '{"domain":"stripe.com"}'

Email security check result

{    "domain": "stripe.com",    "mx": {        "records": [            {                "host": "aspmx.l.google.com",                "priority": 10            },            {                "host": "alt2.aspmx.l.google.com",                "priority": 20            }        ],        "accepts_mail": true,        "null_mx": false    },    "spf": {        "found": true,        "record": "v=spf1 ip4:198.2.180.60/32 ip4:13.111.2.227/32 include:spf1.stripe.com include:greenhouse-outbound-mail.stripe.com include:_spf.qualtrics.com ~all",        "policy": "softfail",        "mechanisms": [            {                "qualifier": "+",                "type": "ip4",                "value": "198.2.180.60/32"            },            {                "qualifier": "+",                "type": "ip4",                "value": "13.111.2.227/32"            },            {                "qualifier": "+",                "type": "include",                "value": "spf1.stripe.com"            },            {                "qualifier": "+",                "type": "include",                "value": "greenhouse-outbound-mail.stripe.com"            },            {                "qualifier": "+",                "type": "include",                "value": "_spf.qualtrics.com"            },            {                "qualifier": "~",                "type": "all",                "value": null            }        ],        "dns_lookups": 7,        "too_many_lookups": false    },    "dmarc": {        "found": true,        "record": "v=DMARC1; p=reject; pct=100; fo=1; rua=mailto:[email protected]; ruf=mailto:[email protected];",        "found_at": "_dmarc.stripe.com",        "policy": "reject",        "percent": 100,        "reports_to": [            "[email protected]"        ],        "failure_reports_to": [            "[email protected]"        ],        "dkim_alignment": "relaxed",        "spf_alignment": "relaxed"    },    "dkim": {        "selectors_checked": [            "google",            "selector1",            "selector2",            "k1",            "s1",            "s2",            "default",            "dkim",            "mail",            "smtp"        ],        "keys": [            {                "selector": "google",                "key_type": "rsa",                "key_bits": 1024,                "revoked": false,                "testing": false            },            {                "selector": "s1",                "key_type": "rsa",                "key_bits": 1024,                "revoked": false,                "testing": false            }        ],        "note": "DKIM keys can only be found by their selector. These are common ones; a key under another selector is not listed. The selector is in the DKIM-Signature header (s=) of a mail from the domain."    },    "mta_sts": {        "found": false    },    "tls_rpt": {        "found": false    },    "bimi": {        "found": false    },    "problems": [        "The DKIM key google has 1024 bits. 2048 bits is safer.",        "The DKIM key s1 has 1024 bits. 2048 bits is safer.",        "The DKIM key s2 has 1024 bits. 2048 bits is safer.",        "No MTA-STS policy, so other mail servers may deliver to this domain without TLS."    ],    "fetched_at": "2026-11-16T11:41:21+00:00"}

Price: 2 credits per request. See all prices

Want to try Chab with your agent?

Copy the prompt and paste it into your AI. Your agent starts with free credits and doesn't need an account.

See plans