mail

mail is a skill for Claude Code, Codex from FoneClaw-AI/foneclaw-android. It costs 17 tokens per session (547 once invoked), scanned A, original, MIT.

An email tool for listing, reading, summarizing, sending, replying to, forwarding, and deleting messages from configured accounts.

In plain words
What is it for?
It helps with finding messages, reading their contents and attachment details, composing new or reply messages, forwarding email, and moving messages to Trash.
Why use it?
It removes the need to switch between mail accounts and manually search through messages for routine email work.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/foneclaw-ai/foneclaw-android/mail
Any agent
npx skills add FoneClaw-AI/foneclaw-android --skill mail
Clone the repo
git clone --depth 1 https://github.com/FoneClaw-AI/foneclaw-android

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mail

README.md
[![agentmods](https://agentmods.dev/badge/skills/foneclaw-ai/foneclaw-android/mail.svg)](https://agentmods.dev/skills/foneclaw-ai/foneclaw-android/mail)
Your own site
<a href="https://agentmods.dev/skills/foneclaw-ai/foneclaw-android/mail"><img src="https://agentmods.dev/badge/skills/foneclaw-ai/foneclaw-android/mail.svg" alt="Measured on agentmods" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 547 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00017 $0.00547
Opus 5 $0.00009 $0.00273
Sonnet 5 $0.00003 $0.00109
Haiku 4.5 $0.00002 $0.00055

Measured 5d ago against content hash e2c0a183d3b7, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

mail scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/mail/SKILL.md · 46 lines

How it starts

The opening of the file, as written. The whole thing — 46 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Mail Skill

Use this skill when the user asks to search, read, summarize, send, reply to, forward, or delete email.

Tools

  • mail_account_list: list accounts, or match by exact account ID, exact full email address, exact alias, then fuzzy alias/email.
  • mail_list: list, filter, and search summaries. Its query searches subject, sender, recipients, and body. Use its opaque messageRef for later operations.
  • mail_read: read one messageRef, return attachment metadata and paged body content, and mark the server message as read.
  • mail_send: send NEW, REPLY, REPLY_ALL, or FORWARD mail, optionally with files the user selected in the current message.
  • mail_delete: move up to 20 messageRef values to Trash, or permanently delete only when the user explicitly requests permanent deletion.

Rules

  • Never ask the user to provide a mail password inside a tool call.
  • Mail account credentials are configured externally through MailAccountConfig.
  • Leave accountId empty only when one account exists or exactly one account is the default. If the tool returns account_selection_required, call mail_account_list and ask the user to choose; never select the first account.
  • Prefer mail_list before mail_read, mail_send reply modes, or mail_delete.
  • After every successful or partial mail_read, summarize the message in the same response. Continue with nextBodyCursor only when the remaining body is needed.
  • mail_send and mail_delete require approval. Do not claim an email was sent or deleted before the tool result confirms it.
  • An unknown send/delete result must not be retried automatically.
  • Empty subjects are allowed; an empty send body is not.
  • Attachments must use the exact attachmentRef, file name, MIME type, and size announced for the current user message. Maximum: 10 files, 10 MiB each, 18 MiB total. Do not invent a local path, content URI, URL, or attachment reference.
  • Reply and forward do not automatically include attachments from the source message.
  • TRASH must not fall back to permanent deletion when no reliable Trash folder exists.
  • Keep summaries concise and mention important attachment metadata.
  • Do not expose authentication details in responses.

Read the full file on GitHub · 46 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 46 lines · 17 tokens per session scan A e2c0a183d3b7

Subscribe to this mod's changes

mail is a skill published in the GitHub repository FoneClaw-AI/foneclaw-android (5 stars, last pushed 3d ago), licensed MIT. It adds 17 tokens to every session and 547 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.