Xpersona
M

Mails for Agent

CLAWHUB · Unverified

Complete service registrations autonomously by receiving verification codes. Also: send and receive emails, monitor inbox, search by keyword, download attach... Skill: Mails for Agent Owner: digidai Summary: Complete service registrations autonomously by receiving verification codes. Also: send and receive emails, monitor inbox, search by keyword, download attach... Tags: latest:1.8.0 Version history: v1.8.0 | 2026-04-18T05:12:00.696Z | user Sync with mails v1.9.1: add stats, SSE events, mailbox management, webhook routing, cc/bcc/in_reply_to, send response shape, rate limit

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s179e8m4pfbxpv4djf5mq478p983g37a:mails-for-agent
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-digidai-mails-for-agent/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

55,749 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: Mails for Agent
description: "Complete service registrations autonomously by receiving verification codes. Also: send and receive emails, monitor inbox, search by keyword, download attachments, view threads, filter by label, extract structured data, manage mailbox and webhooks."
version: 1.8.0
metadata:
  openclaw:
    requires:
      env:
        - MAILS_API_URL
        - MAILS_AUTH_TOKEN
        - MAILS_MAILBOX
      bins: []
      primaryEnv: MAILS_AUTH_TOKEN
---

# Email Skill — Agent Auth-Completion

You have the email address `$MAILS_MAILBOX`. Your primary superpower: **complete service registrations autonomously** by receiving verification codes via `GET /api/code?timeout=60`.

Make HTTP requests to `$MAILS_API_URL` with header `Authorization: Bearer $MAILS_AUTH_TOKEN`.

**Sign up for a service:** Fill form with `$MAILS_MAILBOX` → GET /api/code?timeout=60 → enter the code. Done.

## API Endpoints

| Method | Endpoint | Description |
|--------|----------|-------------|
| GET | /api/inbox | List/search emails. Params: `query`, `limit`, `offset`, `direction`, `label`, `mode` (keyword/semantic/hybrid) |
| GET | /api/email?id=ID | Full email with body, attachments, labels |
| GET | /api/code?timeout=60 | Wait for verification code (long-poll). Params: `timeout`, `since` |
| POST | /api/send | Send email. Body: `{ from, to[], cc[], bcc[], subject, text, html, reply_to, in_reply_to, headers, attachments }` |
| DELETE | /api/email?id=ID | Delete email and attachments |
| GET | /api/attachment?id=ID | Download attachment |
| GET | /api/threads | List conversation threads. Params: `limit`, `offset` |
| GET | /api/thread?id=ID | Get all emails in a thread |
| POST | /api/extract | Extract structured data. Body: `{ email_id, type }` type: order/shipping/calendar/receipt/code |
| GET | /api/stats | Mailbox statistics (total, inbound, outbound, this month) |
| GET | /api/events | SSE real-time event stream. Params: `types`, `since` |
| GET | /api/mailbox | Mailbox info (status, webhook_url) |
| PATCH | /api/mailbox | Update mailbox settings. Body: `{ webhook_url }` |
| PATCH | /api/mailbox/pause | Pause mailbox (blocks all operations) |
| PATCH | /api/mailbox/resume | Resume paused mailbox |
| GET | /api/mailbox/routes | List per-label webhook routes |
| PUT | /api/mailbox/routes | Upsert webhook route. Body: `{ label, webhook_url }` |
| DELETE | /api/mailbox/routes?label=X | Delete webhook route for label |
| GET | /api/me | Mailbox info and capabilities |
| GET | /health | Health check (no auth) |

## Request Format

All requests (except /health) require `Authorization: Bearer $MAILS_AUTH_TOKEN` header.

POST/PUT/PATCH requests require `Content-Type: application/json` header.

The `to` param is optional — the API auto-scopes to the token's mailbox.

## Response Shapes

**Inbox**: `{ "emails": [{ "id", "from_address", "from_name", "subject", "code", "direction", "status", "received_at", "has_attachments", "attachment_count" }], "search_mode":

_meta.json

{
  "ownerId": "kn73ekpzsj882ce5a0kk31jxsx827vz3",
  "slug": "mails-for-agent",
  "version": "1.8.0",
  "publishedAt": 1776489120696
}

skill-card.md

## Description:

Enables agents to use a configured mailbox to receive verification codes, send and receive email, monitor and search inboxes, download attachments, view threads, extract structured data, manage mailbox settings, and configure webhooks.

This skill is ready for commercial/non-commercial use.

## Publisher:

[digidai](https://clawhub.ai/user/digidai)

### License/Terms of Use:

MIT-0

## Use Case:

External users and developers use this skill to let an agent complete email-based registration flows, retrieve verification codes, manage mailbox content, and automate mailbox-related workflows through a configured mail API.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The agent can read mailbox content that may include important records or account-recovery messages.

Mitigation: Use a dedicated low-risk mailbox and avoid connecting accounts that receive sensitive records or recovery messages.

Risk: The agent can delete emails and change mailbox or webhook routing settings.

Mitigation: Require explicit user confirmation before deletes, mailbox pause or resume actions, webhook updates, and route changes.

Risk: The authentication token enables broad mailbox actions through the configured mail API.

Mitigation: Restrict who can access MAILS_AUTH_TOKEN and rotate it if it may have been exposed.

Risk: Verification codes or mailbox contents could be forwarded to untrusted destinations.

Mitigation: Avoid forwarding codes or message contents to untrusted recipients, tools, or webhook URLs.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/digidai/skills/mails-for-agent)
- [Publisher profile](https://clawhub.ai/user/digidai)

## Skill Output:

**Output Type(s):** [guidance, shell commands, configuration, text, markdown]

**Output Format:** [Markdown with HTTP request guidance and JSON examples]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Requires MAILS_API_URL, MAILS_AUTH_TOKEN, and MAILS_MAILBOX environment variables.]

## Skill Version(s):

1.8.0 (source: frontmatter and server release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Mails for Agent and adjacent AI workflows.