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.
Automates Apple Mail with JXA for message filtering, composition, and batch operations.
/plugin marketplace add SpillwaveSolutions/automating-mac-apps-plugin/plugin install automating-mac-apps@automating-mac-apps-pluginThis skill is limited to using the following tools:
references/attachment-extraction.mdreferences/html-data-merge.mdreferences/html-signature-workflow.mdreferences/mail-advanced.mdreferences/mail-basics.mdreferences/mail-dictionary.mdreferences/mail-pyxa-api-reference.mdreferences/mail-recipes.mdreferences/mail-rules.mdreferences/mailbox-archiver.mdscripts/create_email.pyscripts/create_mail_rule.pyscripts/extract_emails_to_contacts.pyscripts/search_and_archive.pyscripts/set_up_mail_automation.pyscripts/set_up_mail_automation.shautomating-mac-apps for permissions, shell, and UI scripting guidance.automating-mac-apps skill (PyXA Installation section).message.subject()), modify via assignments (message.readStatus = true).Read inbox (JXA):
const Mail = Application('Mail');
const message = Mail.inbox.messages[0];
console.log(message.subject());
Compose message (JXA):
const msg = Mail.OutgoingMessage({
subject: "Status Update",
content: "All systems go."
});
Mail.outgoingMessages.push(msg);
msg.visible = true;
PyXA alternative:
import PyXA
mail = PyXA.Mail()
inbox = mail.inboxes()[0]
message = inbox.messages()[0]
print(f"Subject: {message.subject()}")
Mail.inbox.messages.lengthautomating-mail/references/mail-basics.mdautomating-mail/references/mail-recipes.mdautomating-mail/references/mail-advanced.mdautomating-mail/references/mail-dictionary.mdautomating-mail/references/mail-rules.mdautomating-mail/references/html-signature-workflow.mdautomating-mail/references/attachment-extraction.mdautomating-mail/references/mailbox-archiver.mdautomating-mail/references/html-data-merge.mdautomating-mail/references/mail-pyxa-api-reference.mdCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.