list_emails
Retrieve email summaries from specified folders with optional filters by sender or quantity limits.
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 |
|---|---|---|---|
| folder | No | INBOX | |
| sender_filter | No | ||
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |