search_emails
Search mailbox messages by sender, recipient, subject, text, dates, flags, Message-ID, or attachment presence, with results returning stable IMAP UIDs for reliable follow-up actions.
Instructions
Search by sender, recipient, subject, text, dates, flags, Message-ID or attachment presence.
Dates must be YYYY-MM-DD. Search results return IMAP UIDs, not unstable sequence numbers. Attachment-presence searches inspect at most scan_limit recent candidate messages.
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": "search_emails"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | No | ||
| since | No | ||
| before | No | ||
| folder | No | INBOX | |
| sender | No | ||
| subject | No | ||
| read_only | No | ||
| recipient | No | ||
| message_id | No | ||
| scan_limit | No | ||
| unread_only | No | ||
| flagged_only | No | ||
| has_attachments | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||