mailpulse
MailPulse: The fleet's first ACTION origin — does something in the world instead of answering a question. Sends a real physical letter (US First-Class, US Certified with optional electronic return receipt, or international) via USPS through Lob's Print & Mail network: paying causes real postage to print and mail, once payment settles. Free address-deliverability check precedes the paid send; free price quote locks the exact price for 15 minutes; cheap status/tracking poll follows up afterward. Every response reports mode: "test" | "live" — test mode costs nothing and mails nothing physical.
Coverage: US + international mail via USPS/Lob
Endpoints: • verify-address ($0.01): Verify a mailing address (US + international) • letters ($3.00): THE paid action: prints and mails a real physical letter via Lob once payment settles. Price varies by service — standard $3.00, certified $12.00, certified_return_receipt $14.00, international $5.00 — the amount shown here is the representative/minimum price; the actual x402 charge always matches the caller's quote_id-verified order from POST /api/quote (free, no x402 gate). Requires a client_request_id (8-128 chars) for idempotency. • {id} ($0.005): Letter status / USPS tracking poll • health (FREE): Liveness + current mode
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Lob letter id returned by POST /api/letters | |
| to | No | Recipient address | |
| from | No | Sender-of-record address (never The Aslan Group LLC — we are a paid conduit only) | |
| lang | No | Response language code (en | es | fr | de | zh | hi | ar | pt | ja | ko | etc.) | |
| action | Yes | Which endpoint to call. Options: verify-address | letters | {id} | health | |
| content | No | { html } or { file_url } — exactly one | |
| service | No | standard | certified | certified_return_receipt | international | |
| quote_id | No | From POST /api/quote | |
| issued_at | No | From POST /api/quote, copied verbatim | |
| amount_micro | No | From POST /api/quote, copied verbatim | |
| client_request_id | No | 8-128 chars, unique per letter, enables idempotent retries |