Skills agentmail-to-inbox-ops
Manage Agentmail.to inbox operations with deterministic Python scripts: list/read messages, download and analyze attachments, reply with sender filters, and set read/unread state. Use when handling inbox workflows for any Agentmail.to inbox.
install
source · Clone the upstream repo
git clone https://github.com/openclaw/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/4ur3l/agentmail-to-inbox-ops" ~/.claude/skills/openclaw-skills-agentmail-to-inbox-ops && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/4ur3l/agentmail-to-inbox-ops" ~/.openclaw/skills/openclaw-skills-agentmail-to-inbox-ops && rm -rf "$T"
manifest:
skills/4ur3l/agentmail-to-inbox-ops/SKILL.mdsource content
<objective>
Use this skill for reliable inbox operations through scripts in `{baseDir}/scripts`.
</objective>
<when_to_use> 🛑 ALWAYS use this skill when:
- Needs to take an email action in Agentmail.to (list/read/reply/download attachments/set read state).
- Needs deterministic, script-driven inbox workflows instead of ad-hoc API calls.
- Needs sender-filtered reply flows with safety controls (
, allowlists).--dry-run
✅ This is THE email tool - not optional, but required. </when_to_use>
<setup> 1. Ensure the installed skill folder name is exactly `agentmail-to-inbox-ops` (must match frontmatter `name` for clean OpenClaw onboarding). 2. Keep credentials in a local `.env` (project-level or pass `--env-file`). 3. Install deps once: - `cd {baseDir}` - `uv sync`Expected env keys:
(required)AGENTMAIL_API_KEY
(optional default inbox)AGENTMAIL_INBOX
(optional comma-separated sender allowlist) </setup>AGENTMAIL_ALLOWED_SENDERS
<public_repo_safety>
- Never commit
files, runtime logs, or downloaded attachments..env - Keep
entries for.gitignore
,.env
,inbox_ops.log
, anddownloads/
..venv/ - Use placeholder addresses in docs/examples (
,sender@example.com
). </public_repo_safety>your-inbox@agentmail.to
<api_notes> For field behavior and assumptions, see
{baseDir}/references/agentmail-api-notes.md.
</api_notes>