send-email
Skill0 starsChanged 9 months agoMITView on GitHub
Send email via AgentMail API. Use when the user asks to send, compose, draft, email, or message someone. Supports plain text, HTML bodies, CC/BCC recipients, and file attachments.
- Reads credentials
- Installs packages
28 other projects use a version of this.
Adopted by
Most recently taken up by
- MoizIbnYousaf/marketing-clitheir own version, first seen Nov 1, 2026
- freejam099-alt/Edge-Aitheir own version, first seen Oct 25, 2026
- aaronjmars/miroshark-aeontheir own version, first seen Oct 21, 2026
- aeonfun/aeontheir own version, first seen Oct 20, 2026
- jeffliu05042/send-email-skilltheir own version, first seen Oct 20, 2026
- MiroShark/miroshark-aeontheir own version, first seen Oct 17, 2026
Used with
Projects with it also use aeon-update, auto-workflow and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
aaronjmarsSkillaeon-update
Pull framework updates from the upstream Aeon repo into this instance - 3-way merges canon's new commits into a PR, never clobbering operator config.
Also in 4 projects that use this
aaronjmarsSkillauto-workflow
Two-mode aeon.yml workflow builder - analyze inspects URLs and emits a tiered, signal-verified skill-enablement plan plus an aeon.yml diff; enable flips slugs to enabled:true and opens a PR.
Also in 4 projects that use this
- +10 more from aaronjmars
Other versions28 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 28
- google-ai-edge/gallery★ 25ksame name
- floatpane/matcha★ 1.2ksame name
- jegly/Box★ 1ksame name
- aeonfun/aeon★ 793same name
- aaronjmars/aeon★ 789same name
- microsoft/vscode-java-pack★ 357same name
- refly-ai/refly-skills★ 204same name
- jonathanmalkin/jules★ 65same name
- MoizIbnYousaf/marketing-cli★ 33same name
- aaronjmars/miroshark-aeon★ 20same name
18 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository4 other files it gives its agents.
- create-skillSkill
- generate-imageSkill
- reconSkill
- spriteSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 6 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 23 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 48
When the user asks you to send an email:
- Distinctive: line 52
Extract the subject: If not explicitly stated, compose a concise subject from the message context.
- Distinctive: line 54
Compose the body: Use the user's words as the starting point.
- Very specific: line 57
Use --html only if the user explicitly asks for HTML formatting, or the content genuinely requires it (tables, styled layouts, rich …
- Distinctive: line 58
Default to plain text. Most emails should be plain text.
- Distinctive: line 61
Look for "CC", "copy", "also send to", "loop in" to detect CC recipients.
- Distinctive: line 62
Look for "BCC", "blind copy" to detect BCC recipients.
- Very specific: line 65
If the user mentions "attach", "include the file", "send the PDF", or references a specific file path, use --attach with the absolute path …
“Common” is measured: kept by at least 6 in 10 of the 23 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Send Email with AgentMail
Send emails by running the bundled Python script. The script uses only Python stdlib (no pip install needed). It requires the AGENTMAIL_API_KEY environment variable.
Usage
python3 ~/.claude/skills/send-email/scripts/send_email.py "TO" "SUBJECT" "BODY" [OPTIONS]Options
| Flag | Description | Default |
--cc EMAIL | CC recipient (repeatable) | None |
--bcc EMAIL | BCC recipient (repeatable) | None |
--reply-to EMAIL | Reply-to address | None |
--html | Treat body as HTML | Off (plain text) |
--attach PATH | Attach file (repeatable, max 10 MB each) | None |
--inbox-id ID | Use a specific inbox | Auto-discovers first inbox |
Examples
Basic email:
python3 ~/.claude/skills/send-email/scripts/send_email.py "alice@example.com" "Quick update" "The deploy went through. All good."With CC and attachment:
python3 ~/.claude/skills/send-email/scripts/send_email.py "bob@example.com" "Monthly report" "Report attached." --cc manager@example.com --attach report.pdfHTML email:
python3 ~/.claude/skills/send-email/scripts/send_email.py "team@example.com" "Release notes" "<h2>v2.1</h2><ul><li>New dashboard</li><li>Bug fixes</li></ul>" --htmlInterpreting user requests
When the user asks you to send an email:
- Extract the recipient from their request. If they say a name without an email address, ask for the address.
- Extract the subject. If not explicitly stated, compose a concise subject from the message context.
- Compose the body. Use the user's words as the starting point. Write in a natural, professional tone unless they specify otherwise. Keep it plain text by default.
- Detect HTML vs plain text:
- Use
--htmlonly if the user explicitly asks for HTML formatting, or the content genuinely requires it (tables, styled layouts, rich formatting). - Default to plain text. Most emails should be plain text.
- Use
- Handle CC/BCC:
- Look for "CC", "copy", "also send to", "loop in" to detect CC recipients.
- Look for "BCC", "blind copy" to detect BCC recipients.
- Handle attachments:
- If the user mentions "attach", "include the file", "send the PDF", or references a specific file path, use
--attachwith the absolute path to the file.
- If the user mentions "attach", "include the file", "send the PDF", or references a specific file path, use
- Run the script and report whether the email was sent. Include the recipient and subject in your confirmation.
- If the script fails, read the error output and explain the issue clearly. Common fixes:
- Missing API key: tell them to set AGENTMAIL_API_KEY
- Rate limit: free tier allows 100 emails/day
- Bad address: check the recipient email format
Environment setup
The script loads AGENTMAIL_API_KEY from the project .env file (or ~/.env as fallback). If not found in any .env or the environment, the script exits with setup instructions.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

