email_search
Search your connected email account for messages matching a text query (checks From, Subject and body). message_id is an IMAP uid (from email_search or email_list_recent), scoped to the folder it was found in — not the email's Message-ID header.
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": {
"query": "<query>"
},
"name": "email_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results, most recent first (default 10, max 50) | |
| query | Yes | Text to search for | |
| folder | No | Folder/mailbox to search (default INBOX) |