Skill4 starsChanged 4 months agoMITView on GitHub
Automate Apple Mail using AX for UI interactions and AppleScript for draft/message data flows
3 other projects use a version of this.
Adopted by
Most recently taken up by
- andrewsoonqn/skillstheir own version, first seen Aug 30, 2026
- polycode-public/claude-code-idea-refinerytheir own version, first seen Aug 23, 2026
- ai461/claudemailtheir own version, first seen Mar 24, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- ai461/claudemail★ 1same name
- polycode-public/claude-code-idea-refinery★ 1same name
- andrewsoonqn/skills★ 0same name
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.
The file
Files
Mail Automation
Connect
connect_app({ name: "Mail" })
Backends
- Primary for UI gaps: AX automation via macbeth
- Supplemental: AppleScript for draft creation and selected-message metadata
Runnable Scripts
dump-ui.mjs— inspect current Mail AX treeclick-toolbar-button.mjs— click toolbar buttons by title/patterncompose-draft-applescript.mjs— create and open a draft messageselected-message-applescript.mjs— read currently selected message metadata
Gotchas
- AX actions require Mail to be frontmost for reliable interaction.
- AppleScript coverage is limited for newer Mail UX features.
- Sending mail is intentionally not done automatically in this v1 set.
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.

