list_emails
Retrieve email summaries from a chosen folder, optionally filtered by sender address and capped by a limit. Use it to scan inbox or folder contents and preview messages before reading.
Instructions
List emails from the specified folder.
Args: folder: Mail folder to list from (default: INBOX) sender_filter: Optional filter by sender email address (e.g., "denisa@c-tic.it") limit: Maximum number of emails to return (default: 10, max: 50)
Returns: List of email summaries with id, from, to, subject, date, and body preview
Example: list_emails(sender_filter="denisa@c-tic.it", limit=5)
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 | INBOX | |
| sender_filter | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |