get_recent_emails
Retrieve recent emails from a specified account. Supports custom count, content preview, and output format selection.
Instructions
Get the most recent emails from a specific account.
Args: account: Account name (e.g., "Gmail", "Work") count: Number of recent emails to retrieve (default: 10) include_content: Whether to include content preview (slower, default: False) output_format: "text" (default, human-readable) or "json" (structured list of email dicts)
Returns: Formatted list of recent emails
User Preferences: {"workflow": "default", "notifications": "enabled"}
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"account": "<account>"
},
"name": "get_recent_emails"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| account | Yes | ||
| output_format | No | text | |
| include_content | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |