Email deliverability

Diagnose why a domain's email lands in spam: SPF posture, DMARC policy, DKIM key strength, MX targets, and a composite 0–100 score.

$0.009 per call · one payment for the whole workflow
POST /api/skill/email-deliverability
Sample output + API docs →

6 tools run server-side in one request. You pay once, settle once, and get a single response - no orchestration, no per-step payments, and a partial-success envelope if any step fails. USDC over x402 on any supported chain.

When to use this pack

Marketing or transactional email is landing in spam, or you're rolling out a new sending domain and want to verify the auth posture before the first campaign.

Tools in this pack

All 6 run inside the single $0.009 call above. Each is also callable on its own if you only need one part.

Bought one at a time, these 6 tools cost $0.009 together; the pack is that sum less a 10% bundle discount, rounded up to the $0.001 settlement floor, which is $0.009.

Workflow

  1. Parse the SPF record - the tool flags the most common failures (>10 DNS lookups, +all permissive directive, syntax errors).
  2. Parse the DMARC policy - p=none means receivers ignore SPF/DKIM failures, which usually explains a 'we set it all up but it still goes to spam' problem.
  3. Probe 14 common DKIM selectors and warn on <1024-bit keys and testing-mode (t=y) records. Most sending platforms publish under a predictable selector this catches.
  4. Run the composite deliverability score (25 points each for SPF + DMARC + DKIM + MX) for a single integer to report back to the team.
  5. Validate a single recipient address with email-validate to confirm the MX is actually reachable.
  6. Spot-check the MX records with dns-lookup type=MX to verify the chain matches the sending platform's documented setup.

Arguments

NameRequiredDescriptionExample
domainyesSending domain to diagnose (e.g. stripe.com)example.com

What one call returns

A JSON object with pack, args, steps, summary; steps holds one entry per tool (spf-check, dmarc-check, dkim-lookup, email-deliverability, email-validate, dns-lookup), each with its own result or error. Full example on the API page.

Call it directly

Any x402 client pays the 402 and gets the whole workflow back in one response. With the agent402-client SDK (npm i agent402-client, an ES module):

import { Agent402 } from "agent402-client";
// payFetch: an x402-wrapped fetch your wallet signs (@x402/fetch).
// Tools on the free tier need no options: new Agent402() pays them by proof-of-work.
// an existing prepaid credits key also works: new Agent402({ creditsKey })
const client = new Agent402({ fetch: payFetch });
const result = await client.call("skill-email-deliverability", {"domain":"example.com"});

Run it in Claude

claude mcp add agent402 -s user -- npx -y agent402-mcp@latest

Then paste this prompt into Claude:

Diagnose email deliverability for sender@example.com. Use Agent402 to check SPF, DMARC, DKIM (probe common selectors), and the composite email-deliverability score. If the score is below 75, explain which auth records are missing or weak and how to fix each one.

← All skill packs