Skip to content
Agentmart
Submit a tool

mailapp-send-email

Send emails through the macOS Mail app using AppleScript.

Skill by IvanCampos

IndexedMIT★ 5
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/ivancampos-mailapp-send-email

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Send emails through the macOS Mail app using AppleScript. Use when a task requires composing or sending email via Mail.app (including to/cc/bcc, subject, body, or attachments), or when the user asks for Mail app automation or osascript-based email sending.

Use cases: productivity

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/mailapp-send-email

What's inside

Skill name
mailapp-send-email
Description
Send emails through the macOS Mail app using AppleScript. Use when a task requires composing or sending email via Mail.app (including to/cc/bcc, subject, body, or attachments), or when the user asks for Mail app automation or osascript-based email sending.
License
MIT
Instructions
39 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • body: contains an absolute path from the author's machine

Files (3)

  • SKILL.md
  • openai.yaml · agents/
  • send_mail.applescript · scripts/

SKILL.md (first lines)

# Mail.app Send Email

## Overview
Use the bundled AppleScript to compose and optionally send Mail.app messages with structured inputs (to/cc/bcc/subject/body/attachments).

## Quick Start
Run the AppleScript via `osascript` with `--to`, `--subject`, and `--body`. Pass comma-separated lists for multiple recipients or attachments.

```bash
osascript /Users/ivancampos/.codex/skills/mailapp-send-email/scripts/send_mail.applescript \
  --to "test@test.com" \
  --subject "hello" \
  --body "testing"
```

## Inputs
Use these flags. Only `--to`, `--subject`, and `--body` are required.
- `--to` single email or comma-separated list
- `--cc` optional comma-separated list
- `--bcc` optional comma-separated list
- `--subject` subject line
- `--body` message body
- `--attach` optional comma-separated POSIX file paths
- `--send` optional `true|false` (default `true`, send immediately)

## Behavior
- Create a new outgoing message in Mail.app.
- By default send immediately. If `--send false`, leave the draft visible for review.
- If `--attach` is provided, add each file path as an attachment.

## Troubleshooting
- If Mail.app automation prompts appear, grant permissions in System Settings -> Privacy & Security -> Automation.
- If attachments fail, ensure paths are absolute POSIX paths and the files exist.

## Resources
### scripts/
- `scripts/send_mail.applescript` Create a Mail.app message with optional cc/bcc/attachments and optional immediate send.

From IvanCampos/agents, MIT.

More from IvanCampos/agents

Signals

Stars
5
Forks
0
Open issues
0
Last commit (this folder)
Feb 3, 2026 (8 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from IvanCampos

Cite this page

mailapp-send-email skill. Agent Mart. https://agentmart.dev/skills/ivancampos-mailapp-send-email (last updated 2026-10-24)