save-template
Create or update reusable email templates with placeholders for subject and body, including optional default recipients. Returns template name and ID for later use.
Instructions
Use when: creating a reusable email template (name, subject, body, optional default to/cc), or updating one by passing its existing id. Subject/body may contain placeholders for later use. Returns: the saved template's name and id (reuse the id with use-template / get-template / delete-template). Do not use when: composing a one-off message (use create-draft / send-email) or filling in a template to send (use use-template). Safety: writes the template to the on-disk templates store (APPLE_MAIL_MCP_TEMPLATES_FILE) and persists across restarts; passing an existing id overwrites that template.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"subject": "<subject>",
"body": "<body>"
},
"name": "save-template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | Default CC recipients | |
| id | No | Template ID (for updating existing template) | |
| to | No | Default recipients | |
| body | Yes | ||
| name | Yes | ||
| subject | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| ok | No | ||
| name | No |