apple-mail
Automate Apple Mail with AppleScript
Manual email searches and mailbox actions consume time and are difficult to repeat. This skill provides practical AppleScript patterns for controlled Apple Mail automation.
Stop for confirmation before installing.
Review the plan and obtain explicit user consent before changing files.
Install with my Agent
Copy this request to your Agent. It includes the canonical Skill page and manifest.
Review the Skillstore skill "apple-mail" from https://skillstore.io/skills/bfdcampos-apple-mail.md and its manifest at https://skillstore.io/api/skills/bfdcampos-apple-mail/manifest. Verify the artifact. Stop and obtain explicit user consent before installing or changing files.Your Agent should still show its plan and request any confirmation required by the security policy.
Agent-readable resources
Use these links when an AI agent, crawler, or script needs clean context instead of reading the full page.
Test it
Using "apple-mail". List my Apple Mail accounts without reading messages.
Expected outcome:
Found two Apple Mail accounts: Work and Personal. No message content was accessed.
Using "apple-mail". Count unread messages in the Personal inbox.
Expected outcome:
The Personal inbox contains eight unread messages. No messages were changed.
Using "apple-mail". Prepare a reply to the latest invoice message.
Expected outcome:
Draft prepared for billing@example.com with subject Re: July invoice. Sending is paused for your approval.
Security Audit
High RiskThe static alerts are false positives caused by Markdown backticks and ordinary Apple Mail documentation. The skill still accesses private mail and can send or delete messages, including background sending, without mandatory confirmation. No prompt injection or covert exfiltration intent was found.
Confirmed security concerns (3)
Risk Factors
⚙️ External commands (50)
Share & cite this report
Share the versioned assessment report, neutral badge, embed card, and citations. Skillstore reports evidence without deciding whether this Skill is safe.
Copy report link
https://skillstore.io/skills/bfdcampos-apple-mail/audits/9?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown badge
[](https://skillstore.io/skills/bfdcampos-apple-mail?utm_source=security_passport_badge)HTML badge
<a href="https://skillstore.io/skills/bfdcampos-apple-mail?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/bfdcampos-apple-mail/security.svg" alt="Skillstore security assessment" loading="lazy"></a>Embed card
<iframe src="https://skillstore.io/embed/skills/bfdcampos-apple-mail.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>Academic citations (APA · BibTeX · CFF)
APA citation
BfdCampos. (2026). apple-mail security audit report (audit version 9) [Author version unspecified]. Skillstore. https://skillstore.io/skills/bfdcampos-apple-mail/audits/9BibTeX citation
@techreport{bfdcampos-bfdcampos-apple-mail-2026,
author = {BfdCampos},
title = {apple-mail security audit report (audit version 9)},
institution = {Skillstore},
year = {2026},
number = {9},
url = {https://skillstore.io/skills/bfdcampos-apple-mail/audits/9},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "apple-mail security audit report (audit version 9)"
version: "unspecified"
type: report
authors:
- name: "BfdCampos"
date-released: "2026-07-23"
url: "https://skillstore.io/skills/bfdcampos-apple-mail/audits/9"
identifiers:
- type: other
value: "skillstore:bfdcampos-apple-mail:audit:9"
description: "Skillstore immutable audit report identifier"
Skillstore Score
Why this score Evidence Confidence: MediumWhat You Can Build
Review Recent Personal Mail
List recent senders, subjects, and dates without loading complete message bodies.
Prepare Threaded Support Replies
Find a customer message and prepare a reply that preserves the original conversation thread.
Build Mailbox Workflows
Create repeatable searches, unread counts, reports, and approved mailbox filing actions.
Try These Prompts
List Apple Mail accounts and mailbox names. Use read-only AppleScript, explain required macOS permission, and do not access message content.
Show the five newest messages from [account] with subject, sender, and date. Exclude bodies and do not change read status.
Prepare a threaded reply to messages from [sender] about [subject]. Show the draft and recipients, then wait for approval before sending.
Find messages matching [criteria], summarize planned mailbox changes, and request confirmation. After approval, move them to [mailbox] without deleting anything.
Best Practices
- Start with read-only account and mailbox discovery.
- Use narrow searches, message limits, and metadata-only output whenever possible.
- Review recipients and content before sending, moving, or deleting messages.
Avoid
- Do not send messages invisibly or without explicit user approval.
- Do not retrieve entire mailboxes or full bodies when metadata is sufficient.
- Do not delete messages using broad criteria without preview and confirmation.