majiayu000/claude-skill-registry-data/automating-mail-spillwavesolutions-automating-mac-apps-0629c5aa

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Tainted

Author "majiayu000" has blocked skill(s)

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.

Install

npx vskill@latest install majiayu000/claude-skill-registry-data/automating-mail-spillwavesolutions-automating-mac-apps-0629c5aa

SKILL.md

Automating Apple Mail (JXA-first, AppleScript discovery)

Contents

Relationship to the macOS automation skill

  • Use automating-mac-apps for permissions, shell, and UI scripting guidance.
  • PyXA Installation: See automating-mac-apps skill (PyXA Installation section).

Core Framing

  • Mail dictionary is AppleScript-first; discover in Script Editor.
  • Objects are specifiers: read via method calls (message.subject()), modify via assignments (message.readStatus = true).
  • ObjC bridge available for advanced filesystem operations.

Workflow (default)

1) [ ] Ensure Mail configured and automation permissions enabled. 2) [ ] Discover terms in Script Editor (Mail dictionary). 3) [ ] Prototype minimal AppleScript command. 4) [ ] Port to JXA with defensive checks. 5) [ ] Use batch reads for performance. 6) [ ] Use UI scripting for signature and UI-only actions.

Quick Start Examples

Read inbox (JXA):

javascript
const Mail = Application('Mail');
const message = Mail.inbox.messages[0];
console.log(message.subject());

Compose message (JXA):

javascript
const msg = Mail.OutgoingMessage({
subject: "Status Update",
content: "All systems go."
});
Mail.outgoingMessages.push(msg);
msg.visible = true;

PyXA alternative:

python
import PyXA
mail = PyXA.Mail()
inbox = mail.inboxes()[0]
message = inbox.messages()[0]
print(f"Subject: {message.subject()}")

Validation Checklist

  • [ ] Automation permissions granted (System Settings > Privacy > Automation)
  • [ ] Inbox access works: Mail.inbox.messages.length
  • [ ] Message property reads return expected values
  • [ ] Composition creates visible draft
  • [ ] Batch operations complete without errors

When Not to Use

  • For cross-platform email automation (use IMAP/SMTP libraries)
  • For bulk email sending (use transactional email services like SendGrid)
  • When processing untrusted email content (security risk)
  • For non-macOS platforms

What to load

  • Mail JXA basics: automating-mail/references/mail-basics.md
  • Recipes (filter, move, compose): automating-mail/references/mail-recipes.md
  • Advanced patterns (batch ops, HTML, signatures): automating-mail/references/mail-advanced.md
  • Dictionary translation table: automating-mail/references/mail-dictionary.md
  • Rule scripts: automating-mail/references/mail-rules.md
  • HTML + signature workflow: automating-mail/references/html-signature-workflow.md
  • Attachment extraction pipeline: automating-mail/references/attachment-extraction.md
  • Mailbox archiver: automating-mail/references/mailbox-archiver.md
  • HTML data merge: automating-mail/references/html-data-merge.md
  • PyXA API Reference (complete class/method docs): automating-mail/references/mail-pyxa-api-reference.md

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/majiayu000/claude-skill-registry-data/automating-mail-spillwavesolutions-automating-mac-apps-0629c5aa/badge)](https://verified-skill.com/skills/majiayu000/claude-skill-registry-data/automating-mail-spillwavesolutions-automating-mac-apps-0629c5aa)

Something wrong with this skill or its page? Tell us.