list_emails
Fetch emails from any folder with pagination and multi-account support. Returns subject, sender, date, and flags to help you manage your inbox efficiently.
Instructions
List emails in a folder. Returns envelope data: subject, from, date, flags.
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 |
|---|---|---|---|
| page | No | Page number for pagination | |
| folder | No | Folder name (default: INBOX) | |
| account | No | Account name (uses default if omitted) | |
| page_size | No | Number of emails to return (default: 25) |