Manage Apple Mail app operations: read unread emails, search for specific messages, or send new emails using pre-defined accounts and mailboxes.
Instructions
Interact with Apple Mail app - read unread emails, search emails, and send emails
Input Schema
Name | Required | Description | Default |
---|---|---|---|
account | No | Email account to use (optional - if not provided, searches across all accounts) | |
bcc | No | BCC email address (optional for send operation) | |
body | No | Email body content (required for send operation) | |
cc | No | CC email address (optional for send operation) | |
limit | No | Number of emails to retrieve (optional, for unread and search operations) | |
mailbox | No | Mailbox to use (optional - if not provided, uses inbox or searches across all mailboxes) | |
operation | Yes | Operation to perform: 'unread', 'search', 'send', 'mailboxes', or 'accounts' | |
searchTerm | No | Text to search for in emails (required for search operation) | |
subject | No | Email subject (required for send operation) | |
to | No | Recipient email address (required for send operation) |
Input Schema (JSON Schema)
{
"properties": {
"account": {
"description": "Email account to use (optional - if not provided, searches across all accounts)",
"type": "string"
},
"bcc": {
"description": "BCC email address (optional for send operation)",
"type": "string"
},
"body": {
"description": "Email body content (required for send operation)",
"type": "string"
},
"cc": {
"description": "CC email address (optional for send operation)",
"type": "string"
},
"limit": {
"description": "Number of emails to retrieve (optional, for unread and search operations)",
"type": "number"
},
"mailbox": {
"description": "Mailbox to use (optional - if not provided, uses inbox or searches across all mailboxes)",
"type": "string"
},
"operation": {
"description": "Operation to perform: 'unread', 'search', 'send', 'mailboxes', or 'accounts'",
"enum": [
"unread",
"search",
"send",
"mailboxes",
"accounts"
],
"type": "string"
},
"searchTerm": {
"description": "Text to search for in emails (required for search operation)",
"type": "string"
},
"subject": {
"description": "Email subject (required for send operation)",
"type": "string"
},
"to": {
"description": "Recipient email address (required for send operation)",
"type": "string"
}
},
"required": [
"operation"
],
"type": "object"
}