# DDG Mail Fetch

> DDG Mail Fetch is a paid API for AI agents from agents.daedalusdevelopmentgroup.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-10).

Fetches email messages via an agent-payable HTTP endpoint using the x402 micropayment protocol

## Facts

- Endpoint: POST https://agents.daedalusdevelopmentgroup.com/v1/mail/fetch?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ddg-mail-fetch-c5e09968
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XLmbUs38Jy9G3aHNEG1rA

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 ddg-mail-fetch-c5e09968 -d '<json body>'
```

Example prompt: Check my inbox and fetch the latest emails using the DDG mail fetch service — retrieve them as JSON so I can see what messages have come in.

## When to prefer this

Choose this endpoint when you need an AI agent to autonomously fetch email messages and can pay per-call via x402 micropayments in USDC. Best suited for agentic workflows where automated mail retrieval is a step in a larger pipeline, and where pay-per-use pricing is preferable to a subscription.

## Known failure modes

- Payment not accepted — x402 micropayment of 0.002 USDC not processed, returning 402 Payment Required
- Invalid body type enum value — must be json, form-data, or text
- Missing required fields (input.type, input.method, input.bodyType, input.body) causing 400 Bad Request
- Mail fetch fails if underlying mail credentials or mailbox are misconfigured server-side
- Method not allowed if using GET instead of POST

## How this service works

DDG agent-payable service request

## Output

Returns an HTTP response containing fetched email messages and their content, structured as JSON with an ok status flag indicating success or failure of the mail retrieval operation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": true
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "ok": true
    }
   },
   "additionalProperties": true
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ddg-mail-fetch-c5e09968/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.daedalusdevelopmentgroup.com](https://www.zero.xyz/host/agents.daedalusdevelopmentgroup.com/llms.txt)
