# Forest Gas Station — Mail Preflight (MX/SPF/DMARC Check)

> Forest Gas Station — Mail Preflight (MX/SPF/DMARC Check) is a paid API for AI agents from http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-01).

Checks whether a domain is properly configured for email sending and receiving by validating its MX, SPF, and DMARC DNS records — without verifying individual mailboxes.

## Facts

- Endpoint: POST https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/domain/mail-preflight?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/forest-gas-station-mail-preflight-mx-spf-dmarc-check-6279fdcb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zbgSK9f9EjtYPxflvZ0mc

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability forest-gas-station-mail-preflight-mx-spf-dmarc-check-6279fdcb -d '<json body>'
```

Example prompt: Can you do a mail preflight check on acmecorp.com — I want to know if its MX, SPF, and DMARC records are correctly set up before we start sending campaigns from that domain?

## When to prefer this

Use this endpoint when you need a lightweight DNS-level email readiness check for a domain — specifically MX, SPF, and DMARC — and do NOT need to verify whether a specific email address or mailbox exists. Prefer this over full mailbox verification tools when the goal is deliverability preflight, spam-filter readiness, or infrastructure auditing rather than contact validation.

## Known failure modes

- Domain does not exist or has no DNS resolution — returns DNS lookup failure
- Domain has no MX records — SPF/DMARC may still be checked but mail reception is unsupported
- Malformed domain string exceeds 253 characters or is empty — input validation error
- Transient DNS resolver errors causing incomplete results
- DMARC or SPF records exist but are syntactically invalid — flagged as misconfigured

## How this service works

MX/SPF/DMARC preflight; not mailbox verification. Base mainnet USDC

## Output

Returns the DNS email configuration status for the given domain, including whether valid MX records exist (indicating the domain can receive mail), whether an SPF record is present and parseable, and whether a DMARC policy is published — providing a preflight pass/fail picture for email deliverability without checking individual mailbox existence.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "domain": {
   "type": "string",
   "maxLength": 253,
   "minLength": 1,
   "description": "Public domain name to inspect."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/forest-gas-station-mail-preflight-mx-spf-dmarc-check-6279fdcb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run](https://www.zero.xyz/host/http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/llms.txt)
