List Emails
list-emailsFetch emails from iCloud folders like inbox, sent, or drafts. Specify folder and count (1-50) to retrieve messages.
Instructions
Lists emails from a folder (default: inbox)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list-emails"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of emails to retrieve (default: 25, max: 50) | |
| folder | No | Email folder (inbox, sent, drafts, trash, archive, junk) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Emails | |
| total | Yes | Number of items returned |