Connect Apps with Composio
ComposioHQ/awesome-claude-skills
Connects an agent to 1000+ external apps through the Composio Tool Router plugin, so it can actually send emails, create issues and post messages instead of only drafting them.
A skill your agent uses when writing, modifying, or debugging ANY AppleScript that interacts with Apple Mail.
$ npx skills add s-morgan-jeffries/apple-mail-fast-mcp --skill applescript-mail -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install s-morgan-jeffries/apple-mail-fast-mcp applescript-mail --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/s-morgan-jeffries/apple-mail-fast-mcp.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/applescript-mail .claude/skills/applescript-mail && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "applescript-mail" agent skill from https://github.com/s-morgan-jeffries/apple-mail-fast-mcp/tree/main/.claude/skills/applescript-mail into .claude/skills/applescript-mail/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "applescript-mail", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/s-morgan-jeffries/apple-mail-fast-mcp/tree/main/.claude/skills/applescript-mailType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add s-morgan-jeffries/apple-mail-fast-mcp --skill applescript-mail -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install s-morgan-jeffries/apple-mail-fast-mcp applescript-mail --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/s-morgan-jeffries/apple-mail-fast-mcp.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/applescript-mail .agents/skills/applescript-mail && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "applescript-mail" agent skill from https://github.com/s-morgan-jeffries/apple-mail-fast-mcp/tree/main/.claude/skills/applescript-mail into .agents/skills/applescript-mail/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "applescript-mail", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add s-morgan-jeffries/apple-mail-fast-mcp --skill applescript-mail -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install s-morgan-jeffries/apple-mail-fast-mcp applescript-mail --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/s-morgan-jeffries/apple-mail-fast-mcp.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/applescript-mail .cursor/skills/applescript-mail && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "applescript-mail" agent skill from https://github.com/s-morgan-jeffries/apple-mail-fast-mcp/tree/main/.claude/skills/applescript-mail into .cursor/skills/applescript-mail/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "applescript-mail", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/s-morgan-jeffries/apple-mail-fast-mcp.git --path .claude/skills/applescript-mail--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add s-morgan-jeffries/apple-mail-fast-mcp --skill applescript-mail -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install s-morgan-jeffries/apple-mail-fast-mcp applescript-mail --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/s-morgan-jeffries/apple-mail-fast-mcp.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/applescript-mail .gemini/skills/applescript-mail && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "applescript-mail" agent skill from https://github.com/s-morgan-jeffries/apple-mail-fast-mcp/tree/main/.claude/skills/applescript-mail into .gemini/skills/applescript-mail/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "applescript-mail", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install s-morgan-jeffries/apple-mail-fast-mcp applescript-mailInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add s-morgan-jeffries/apple-mail-fast-mcp --skill applescript-mail -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/s-morgan-jeffries/apple-mail-fast-mcp.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/applescript-mail .github/skills/applescript-mail && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "applescript-mail" agent skill from https://github.com/s-morgan-jeffries/apple-mail-fast-mcp/tree/main/.claude/skills/applescript-mail into .github/skills/applescript-mail/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "applescript-mail", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add s-morgan-jeffries/apple-mail-fast-mcp --skill applescript-mail -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install s-morgan-jeffries/apple-mail-fast-mcp applescript-mail --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/s-morgan-jeffries/apple-mail-fast-mcp.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/applescript-mail .opencode/skills/applescript-mail && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "applescript-mail" agent skill from https://github.com/s-morgan-jeffries/apple-mail-fast-mcp/tree/main/.claude/skills/applescript-mail into .opencode/skills/applescript-mail/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "applescript-mail", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
applescript-mailA skill your agent uses when writing, modifying, or debugging ANY AppleScript that interacts with Apple Mail.
Applescript Mail is an agent skill from s-morgan-jeffries/apple-mail-fast-mcp. Use when writing, modifying, or debugging ANY AppleScript that interacts with Apple Mail. Also use when encountering AppleScript errors, unexpected Mail.app behavior, when adding new connector methods, or when debugging JSON output from ASObjC. Covers string escaping, attachment handling, Gmail compatibility, message ID lookup patterns, NSJSONSerialization gotchas, and known Mail.app automation limitations.
Its SKILL.md is about 2.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Productivity & Automation, covering Email management and App automation through connectors. It works with Gmail. The repository describes itself as: 🤖 MCP server for Apple Mail - Manage emails with AI using Claude Desktop. Search, send, organize mail with natural language. The licence is MIT.
7 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit ed0cfbc. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are applescript and python).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Applescript Mail loads about 2.5k tokens when it runs. Until then it costs about 107 tokens; SKILL.md has 996 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from s-morgan-jeffries/apple-mail-fast-mcp at commit ed0cfbc, republished under its MIT licence (© s-morgan-jeffries). 996 words, ~2,527 tokens.
.claude/skills/applescript-mail/SKILL.md (or your agent's skills folder).Scripts emit JSON via ASObjC + NSJSONSerialization (not pipe-delimited text). Use the _wrap_as_json_script(body) helper in mail_connector.py and parse responses with parse_applescript_json(result) from utils.py.
Tell-block contract: the body passed to _wrap_as_json_script must contain a tell application "Mail" ... end tell block and assign the final value to a variable named resultData (list, record, or scalar).
Record key gotcha — always quote name: Use |name|:(name of acc), never name:(name of acc). The bare form collides with NSObject's name selector and the key is silently dropped during NSDictionary conversion, leaving records without their name field.
missing value gotcha: NSJSONSerialization rejects missing value. For optional properties (e.g., email addresses of an account with none, unread count on some mailboxes), coerce before building the record:
set accEmails to email addresses of acc
if accEmails is missing value then set accEmails to {}Error propagation: Do NOT wrap the tell-body in try / on error when you want typed exceptions (MailAccountNotFoundError, MailMessageNotFoundError, etc.). Let AppleScript errors bubble via stderr — _run_applescript maps them to the right exception type.
Gmail doesn't support standard IMAP move operations. The update_message tool has a gmail_mode parameter (when used with destination_mailbox):
# Standard IMAP (Exchange, iCloud, etc.)
move message to destination_mailbox
# Gmail mode (copy + delete)
duplicate message to destination_mailbox
delete message # Removes from source labelBug story: Early versions silently failed when moving Gmail messages. The move appeared to succeed but the message stayed in the source mailbox. gmail_mode was added to handle this.
When to use: Always expose gmail_mode as an optional parameter on any tool that moves or archives messages.
Finding a specific message by ID requires searching across accounts and mailboxes:
tell application "Mail"
set allAccounts to every account
repeat with acct in allAccounts
set allMailboxes to every mailbox of acct
repeat with mbox in allMailboxes
set msgs to (messages of mbox whose id is targetId)
if (count of msgs) > 0 then
return first item of msgs
end if
end repeat
end repeat
end tellPerformance: This is O(accounts × mailboxes). For users with many accounts, this can be slow. The whose clause makes it tolerable but not fast.
Optimization: If the caller knows the account and mailbox, always accept them as optional parameters to narrow the search.
Always use escape_applescript_string() for user-provided text:
# In utils.py — escapes backslashes first, then double quotes
def escape_applescript_string(s: str) -> str:
return s.replace("\\", "\\\\").replace('"', '\\"')Bug story: Unescaped quotes in email subjects caused AppleScript blocks to fail silently. The error appears as a generic "Can't make" error in stderr with no indication of the actual cause.
Rule: Every string interpolated into AppleScript MUST go through escape_applescript_string(). No exceptions. Check via check_applescript_safety.sh.
date "..." literalAppleScript parses date-string literals against the user's locale, and gets it wrong silently:
date "2026-05-28" --> year 12196
date "2026-08-09 11:03:51" --> Wednesday, October 8, 12177Neither raises. Nothing warns. A filter built on one of these just quietly matches nothing — and because the surrounding code behaves correctly, the bug is invisible above the AppleScript boundary.
Bug story (#436): a date literal bounded a message-search window. The window was ~10,000 years off, so it matched nothing, and the failure surfaced as a clean, plausible MailAnchorLookupIncompleteError for a message sitting at index 1 of the INBOX. Cost a full integration cycle. The trap had already been documented — in a helper docstring inside a 6,000-line module, which is not where anyone writing new AppleScript looks. Hence this section.
Always build dates from components via _construct_as_date_var() in mail_connector.py:
_construct_as_date_var("targetDate", 2026, 8, 9, 39831) # 39831 = 11:03:51which emits:
set targetDate to current date
set day of targetDate to 1 -- FIRST: see below
set year of targetDate to 2026
set month of targetDate to 8
set day of targetDate to 9
set time of targetDate to 39831 -- seconds since midnightWhy set day to 1 comes first: if current date is the 31st and you set month to a 30-day month, AppleScript rolls into the next month. Resetting the day first makes the sequence safe for every date.
Rule: every date in generated AppleScript goes through _construct_as_date_var(). check_applescript_safety.sh (Check 6) fails the build on a date "..." literal in src/. If you are documenting the trap rather than committing it, wrap the example in backticks — that is how the check distinguishes prose from code.
Attachments use POSIX file references:
-- Sending attachments
set theAttachment to POSIX file "/Users/user/file.pdf"
make new attachment with properties {file name: theAttachment} at after the last paragraph
-- Saving attachments
save attachment theAttach in POSIX file "/Users/user/Downloads/"Path conversion: Python Path objects → .as_posix() → AppleScript POSIX file "...".
Security: Always validate:
.. in path)whose Clause FilteringUse AppleScript whose clauses for server-side filtering instead of fetching all messages:
-- GOOD: Server-side filter (fast)
set msgs to (messages of mbox whose sender contains "user@example.com")
-- BAD: Fetch all then filter in Python (slow)
set msgs to every message of mbox
-- then filter in PythonCombine clauses for multi-field search:
messages whose sender contains "user" and subject contains "report"Limitation: whose clauses don't support OR logic well. For OR conditions, use multiple whose queries and merge results in Python.
No scheduled sending — Mail.app has no AppleScript support for delayed/scheduled sends
Thread reconstruction is possible but not native — Mail.app has no thread or conversation class. Reconstruct threads by reading headers of msg for in-reply-to, references, and matching against message id of msg (the RFC 822 header value) across candidate messages. See get_thread in mail_connector.py.
whose message id is "X" is NOT indexed, and AppleScript runs on Mail's UI thread — so it loads every message in the mailbox and freezes the app, not merely slowly (measured: 33,569 messages in one INBOX, 62,085 in Gmail's All Mail). The _run_applescript timeout does not rescue Mail; it kills our osascript client while Mail keeps grinding.
Resolve an RFC Message-ID by IMAP first — SEARCH HEADER Message-ID is server-indexed (measured 0.14s over 61,880 messages) and returns the arrival date — then binary-search the mailbox by that date. Messages enumerate strictly newest-first with cheap positional access, so that is ~log₂(n) property reads. See find_message_by_message_id (#432/#434). Mail's numeric id is indexed, so whose id is N stays instant and needs none of this.
Rule management is partial — Rules are readable (rules collection, name, enabled, conditions/actions), but have no stable id and must be addressed positionally or by non-unique name. Mutation paths (creating, updating, deleting) are more complex and not yet implemented.
No smart mailbox access — Smart mailboxes are not exposed to AppleScript
Rich text body — content of message returns plain text; HTML body requires alternate approach
Read receipt — Cannot request or detect read receipts
Draft management — Creating drafts is possible but managing them is limited
try
-- operation
return "result_data"
on error errMsg
return "ERROR: " & errMsg
end tryPython-side parsing:
if result.startswith("ERROR:"):
raise MailAppleScriptError(result[7:])stderr-based errors are caught in _run_applescript() and routed to typed exceptions:
"Can't get account" → MailAccountNotFoundError"Can't get mailbox" → MailMailboxNotFoundError"Can't get message" → MailMessageNotFoundErrorMailAppleScriptErrorescape_applescript_string()sanitize_input()_construct_as_date_var(), never a date "..." literaltry/on error in AppleScriptcheck_applescript_safety.sh passes© s-morgan-jeffries, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/applescript-mail of s-morgan-jeffries/apple-mail-fast-mcp.
Open the folder on GitHubat commit ed0cfbc
Applescript Mail next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Applescript Mail this skills-morgan-jeffries/apple-mail-fast-mcp | 104 | — | ~2.5k | Automated safety check: Pass | MIT | |
| Connect Apps with ComposioComposioHQ/awesome-claude-skills | 77k | 3 repos | ~557 | Automated safety check: Pass | None | |
| Composio Cloud Toolsquarqlabs/argus | 279 | — | ~543 | Automated safety check: Pass | Apache-2.0 | |
| Gmail Automationdavepoon/buildwithclaude | 3.6k | 4 repos | ~2.7k | Automated safety check: Pass | MIT | |
| Openloomi Connectorsmelandlabs/openloomi | 1k | — | ~3.3k | Automated safety check: Pass | Apache-2.0 | |
| Google Workspace CLIlaude-institute/headlong | 1.2k | — | ~1.2k | Automated safety check: Pass | Apache-2.0 |
ComposioHQ/awesome-claude-skills
Connects an agent to 1000+ external apps through the Composio Tool Router plugin, so it can actually send emails, create issues and post messages instead of only drafting them.
quarqlabs/argus
Routes requests to external SaaS apps such as GitHub, Gmail, Google Calendar, Slack, Notion and Linear through cloud tools, with safeguards on irreversible actions.
davepoon/buildwithclaude
Automate Gmail tasks via Rube MCP (Composio): send/reply, search, labels, drafts, attachments.
melandlabs/openloomi
openloomi Connectors tools - manage the native 7 messaging integrations and pair with the composio skill for the 1000+ apps OAuth layer (Slack, Discord, X, Gmail, Outlook, Google…
laude-institute/headlong
Drives Google Drive, Gmail, Calendar, Sheets, Docs and Chat from the shell with the gws CLI, including its sign-in, flags, helper commands and safety rules.
LeoYeAI/openclaw-master-skills
Installs and authenticates the gws CLI, then automates Gmail, Drive, Sheets, Calendar, Docs, Chat and Tasks with ready-made recipes, persona bundles and security audits.
s-morgan-jeffries/apple-mail-fast-mcp
Use BEFORE adding any new tool, parameter, or endpoint to the Apple Mail MCP server.
s-morgan-jeffries/apple-mail-fast-mcp
A skill your agent uses when setting up, running, or debugging integration tests against real Apple Mail.
s-morgan-jeffries/apple-mail-fast-mcp
A skill your agent uses when optimizing Apple Mail MCP operations, diagnosing slow queries, adding new filtering logic, or modifying how data is fetched from Mail.app.
s-morgan-jeffries/apple-mail-fast-mcp
A skill your agent uses when the user wants to release a new version.
Works with
Categories
A skill your agent uses when writing, modifying, or debugging ANY AppleScript that interacts with Apple Mail. Applescript Mail is an agent skill from s-morgan-jeffries/apple-mail-fast-mcp. Use when writing, modifying, or debugging ANY AppleScript that interacts with Apple Mail.
Applescript Mail fits situations like: debugging ANY AppleScript that interacts with Apple Mail; encountering AppleScript errors; unexpected Mail.app behavior; adding new connector methods.
Run `npx skills add s-morgan-jeffries/apple-mail-fast-mcp --skill applescript-mail -a claude-code`. Or copy the skill folder (.claude/skills/applescript-mail in s-morgan-jeffries/apple-mail-fast-mcp) into .claude/skills/applescript-mail in your project. Claude Code loads it when a task matches its description.
Run `npx skills add s-morgan-jeffries/apple-mail-fast-mcp --skill applescript-mail -a codex`. Or copy the skill folder (.claude/skills/applescript-mail in s-morgan-jeffries/apple-mail-fast-mcp) into .agents/skills/applescript-mail in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add s-morgan-jeffries/apple-mail-fast-mcp --skill applescript-mail -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/applescript-mail, .gemini/skills/applescript-mail, .github/skills/applescript-mail and .opencode/skills/applescript-mail in your project.
SKILL.md names no scripts, command-line tools or credentials: Applescript Mail is instructions for the agent only. Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Applescript Mail is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.5k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Applescript Mail: Connect Apps with Composio (ComposioHQ/awesome-claude-skills, 77k stars), Composio Cloud Tools (quarqlabs/argus, 279 stars), Gmail Automation (davepoon/buildwithclaude, 3.6k stars) and Openloomi Connectors (melandlabs/openloomi, 1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
s-morgan-jeffries (a GitHub user) maintains it in s-morgan-jeffries/apple-mail-fast-mcp, which has 104 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on September 9, 2026.
Source: s-morgan-jeffries/apple-mail-fast-mcp on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.