Help us improve
Share bugs, ideas, or general feedback.
From mail
Automates Apple Mail via JXA for reading inbox messages, accessing properties like subject and sender, and archiving by account mailboxes.
npx claudepluginhub bendrucker/claude --plugin mailHow this skill is triggered — by the user, by Claude, or both
Slash command
/mail:mailThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Apple Mail automation via JXA (`osascript -l JavaScript`).
Manages Apple Mail on macOS: read, search, send, reply, forward, flag, delete, and organize emails via natural language.
Automates Apple Mail via JXA with AppleScript dictionary discovery. Use when asked to "automate email", "send mail via script", "JXA Mail automation", or "filter email messages". Covers accounts, mailboxes, batch message filtering, composition, attachments, and UI fallback.
Reads and searches Gmail for the configured user via the gog CLI, with structured output and Gmail query syntax support.
Share bugs, ideas, or general feedback.
Apple Mail automation via JXA (osascript -l JavaScript).
Mail.app delete() moves messages to Trash, not Archive. There is no archiveMailbox property — find the archive mailbox by name per account.
See archiving.md for account detection, mailbox lookup, and batch archive patterns.
var app = Application("Mail");
var inbox = app.inbox();
var messages = inbox.messages();
Key properties: subject(), sender(), dateReceived(), content(), mailbox().account().
.map()/.filter() — use Array.from() or for-loops.whose() selectors fail on child mailbox arrays — use for-loopsopen -g -a "Mail"