List emails
list_emailsRead the newest emails in any folder, newest first, showing sender, subject, date, and read status. Optionally filter to unread messages only.
Instructions
List the newest messages in a folder (via IMAP), newest first. Returns summaries: uid, from, to, subject, date, flags/seen, snippet.
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 |
|---|---|---|---|
| limit | No | ||
| folder | No | Mailbox folder (IMAP). POP3 only supports INBOX. | INBOX |
| unread_only | No |