What problem does it solve? Manually managing Apple Mail—reading inboxes, composing messages, filtering emails, extracting attachments, and organizing mailboxes—is repetitive and time-consuming. This Skill provides scriptable control over Mail.app so these tasks can be automated on macOS. ## Core Features & Use Cases - JXA-first automation with AppleScript dictionary discovery: Read inboxes, batch-filter messages by flags or read status, and move messages between mailboxes using JavaScript for Automation. - PyXA Python alternative: Compose outgoing messages, add recipients and attachments, reply, forward, and send mail from Python scripts. - Ready-made scripts and references: Includes scripts for creating emails, searching and archiving messages, extracting addresses to Contacts, and triggering automation permission prompts, plus detailed references covering rules, HTML signatures, attachment extraction, and a full PyXA API reference. - Use Case: Archive all messages older than 30 days across every iCloud mailbox, or compose an HTML status report email with a signature and send it automatically. ## Quick Start Ask the AI to read the latest message subject from your Apple Mail inbox using JXA, then compose a reply draft with a given subject and body.