{"uid":"cap_fn85zQaVoqmDzxs_jOpjE","slug":"inboxguards-email-fix-plan-2b2733a1","name":"InboxGuards Email Fix Plan","description":"Get the exact SPF, DKIM and DMARC DNS records to publish for a domain. $1 USDC on Base per call. Reads live MX, NS, SPF, DKIM and DMARC, detects the mail provider and DNS host, and returns records in order (create, replace or keep) with one merged SPF and a staged DMARC policy. Don't use this for testing a real sent message; use /v1/report.","url":"https://api.inboxguardstest.com/v1/fix-plan?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["domain"],"properties":{"domain":{"type":"string","maxLength":320,"description":"Domain (or an email address / URL on it), e.g. example.com"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"domain":"example.com","report":"email_security_fix_plan","records":[{"why":"Added include:_spf.google.com for Google Workspace. Edit the existing SPF TXT; do not add a second one.","fqdn":"example.com","name":"@","step":1,"type":"TXT","value":"v=spf1 include:sendgrid.net include:_spf.google.com ~all","action":"replace","current":"v=spf1 include:sendgrid.net -all","purpose":"spf"},{"why":"DKIM for Google Workspace is published (selector google).","fqdn":"google._domainkey.example.com","name":"google._domainkey","step":2,"type":"TXT","value":null,"action":"keep","current":"(key present)","purpose":"dkim"},{"why":"Stage 1 (monitor). Starts DMARC reports without affecting delivery.","fqdn":"_dmarc.example.com","name":"_dmarc","step":3,"type":"TXT","value":"v=DMARC1; p=none; rua=mailto:dmarc-reports@example.com; adkim=r; aspf=r; fo=1;","action":"create","current":null,"purpose":"dmarc"}],"summary":{"dns_host":"Cloudflare","headline":"2 DNS changes to make at Cloudflare, in the order below.","sends_mail":true,"mail_provider":"Google Workspace","changes_needed":2},"findings":[],"dns_host_steps":{"host":"Cloudflare","steps":["Cloudflare dashboard > select the domain > DNS > Records."],"name_format":"Use @ for the root, or the short name (e.g. _dmarc). Cloudflare adds the domain.","nameservers":["ada.ns.cloudflare.com","bob.ns.cloudflare.com"]}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_hwNAyzZdkoOmRhhUV5oxB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes a domain's live DNS records (MX, NS, SPF, DKIM, DMARC) and returns an exact, ordered action plan of DNS records to create, replace, or keep to fix email security.","exampleAgentPrompt":"Check the email security setup for acmecorp.com and give me the exact SPF, DKIM, and DMARC DNS records I need to publish, including what to create, replace, or keep, so I can fix deliverability issues.","exampleUseCases":[{"title":"Fix deliverability for sending domain","prompt":"Our emails from newsletter.mycompany.com keep landing in spam. Can you check the current SPF, DKIM, and DMARC records and give me the exact DNS records to publish to fix this, step by step?"},{"title":"Secure a non-sending parked domain","prompt":"We own parked-domain.com but never send email from it. Can you check its DNS records and tell me exactly what SPF and DMARC records to publish to lock it down so nobody can spoof it?"},{"title":"Audit email auth before domain migration","prompt":"We're migrating startupco.io to Google Workspace next week. Can you pull the current MX, SPF, DKIM, and DMARC records and tell me what changes we'll need to make so email keeps working and stays authenticated?"}],"resultDescription":"An ordered list of DNS record actions (create, replace, or keep) for SPF, DKIM, and DMARC, including the exact record name and value to publish, a plain-English explanation of why each change is needed, the detected mailbox provider and DNS host, and a staged DMARC rollout path (none → quarantine → reject). Non-sending domains receive a lockdown configuration.","failureModes":["Domain not found or invalid — returns error indicating domain could not be resolved","No MX records present — plan still generated but flags domain as non-sending","SPF lookup limit exceeded on live records — detected and flagged in the fix plan","DKIM selector unknown — plan provides console path to locate DKIM key instead of exact record","Rate limit or payment failure — HTTP 402 or 429 returned","Malformed domain input — validation error returned before DNS lookup"],"whenToPreferThis":"Choose this endpoint when you need a concrete, actionable DNS fix plan for a specific domain's email authentication, not just a pass/fail audit. It is ideal when you want exact record values ready to paste into a DNS host, when you need staged DMARC policy guidance, or when handling non-sending domains that need lockdown records. Prefer this over generic DMARC checkers when you need prescriptive output rather than just diagnostic scores.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-03T18:44:39.294Z","isFirstParty":false,"canonicalSlug":"inboxguards-email-fix-plan-2b2733a1"}