send-email

send-email is a skill for Claude Code, Codex from aaronjmars/aeon-agent. It costs 39 tokens per session (3,206 once invoked), scanned A, a copy of send-email, MIT.

A tool for writing and sending one email to a named recipient through Resend, an email-sending service. It uses the operator's voice and keeps an audit copy.

In plain words
What is it for?
It helps send a single follow-up, introduction, or other purposeful message, with optional copying and draft revisions before sending.
Why use it?
It turns a clear email request into a reviewed, logged send while preventing bulk or unsolicited mailing. A failed safety check stops the send because sending cannot be undone.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

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/aaronjmars/aeon-agent/send-email
Any agent
npx skills add aaronjmars/aeon-agent --skill send-email
Clone the repo
git clone --depth 1 https://github.com/aaronjmars/aeon-agent

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 send-email

README.md
[![agentmods](https://agentmods.dev/badge/skills/aaronjmars/aeon-agent/send-email.svg)](https://agentmods.dev/skills/aaronjmars/aeon-agent/send-email)
Your own site
<a href="https://agentmods.dev/skills/aaronjmars/aeon-agent/send-email"><img src="https://agentmods.dev/badge/skills/aaronjmars/aeon-agent/send-email.svg" alt="Measured on agentmods" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,206 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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.1 $0.00039 $0.03206
Opus 5 $0.00019 $0.01603
Sonnet 5 $0.00008 $0.00641
Haiku 4.5 $0.00004 $0.00321

Measured yesterday against content hash 67d4c34d7fcd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

send-email 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 yesterday.

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.

Origin

This is a copy

100% identical to send-email — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/send-email/SKILL.md · 133 lines

How it starts

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

${var} — who to email and why, e.g. [email protected] | subject=Intro | about=propose a 20-min call on X. Freeform also works ("email [email protected] to follow up on yesterday's demo"). cc= is optional. The reply-shape revise:<instruction> (Telegram force-reply, e.g. revise:make it warmer) refines the last composed draft for review only — it never sends.

Read soul/ (for voice) and memory/MEMORY.md (for context) before composing.

What this does

Composes a single, purposeful email and sends it in-run via Resend (./secretcurl), gated by the shared send caps + kill-switch and logged to the shared ledger memory/email-log.json. The send is irreversible, so it's the skill's final action, behind a set of fail-closed checks (see "Send (in-run)" below): a skipped or failed check means do not send, never send anyway. This is the general-purpose sibling of disclosure-emailer (vuln-scanner Arm C) — same caps + audit CC, any recipient and purpose instead of only vuln maintainers.

This is not a bulk or cold-outreach tool. One deliberate recipient per run, with a genuine reason to write. If the request reads as mass-mailing, list-blasting, or spam, refuse and log SEND_EMAIL_REFUSED: not a 1:1 purposeful email.

Steps

Revise intercept (Telegram force-reply — re-stage for review only, NEVER auto-send)

Before anything else, if ${var} starts with revise:, the operator replied to a "refine this email?" prompt. Handle it here and end the run — the normal compose/send flow below does NOT run, and nothing is ever sent:

  1. Strip the prefix. The instruction is ${var#revise:} (keep any inner colons), e.g. make it warmer, shorten to 3 lines, drop the meeting ask.
  2. Load the last draft from memory/drafts/send-email-latest.md (the review copy the normal run saves in step 4). If it's missing or empty, there's nothing to refine: send ./notify "Nothing to revise yet — compose an email first, then reply here to refine it." and end the run.
  3. Regenerate the email applying the instruction — re-read soul/ for voice; keep the same recipient / cc / subject unless the instruction changes them; keep the body as the exact send-ready text (operator-only notes stay out).
  4. Re-stage for REVIEW ONLY. Overwrite memory/drafts/send-email-latest.md with the revised draft. Do NOT run the Send step. A revise: reply never sends — the operator confirms a real send by invoking send-email normally (which re-composes and sends in-run).
  5. Notify the operator with the full revised draft for review — multi-line ⇒ ./notify -f <file>:
    revised draft (not sent) → <to>: <subject>
    
    <body>
    
  6. Re-offer a further revision (the operator is iterating — skip the daily dedup guard here):
    ./notify "Want another pass? Reply with a change and I'll revise the draft again (still won't send)." \
      --force-reply --placeholder "e.g. make it warmer" \
      --context "send-email::revise"
    
  7. Log - SEND_EMAIL_REVISED (draft re-staged for review, not sent) under a ### send-email heading in memory/logs/${today}.md, then end the run.

Read the full file on GitHub · 133 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. yesterday First seen · 133 lines · 39 tokens per session scan A 67d4c34d7fcd

Subscribe to this mod's changes

send-email is a skill published in the GitHub repository aaronjmars/aeon-agent (11 stars, last pushed today), licensed MIT. It adds 39 tokens to every session and 3,206 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to send-email, differing in 0 lines, and is treated as a copy.