list_emails
Lists recent emails in a specified folder for an email account, automatically routing to the correct backend; supports unread-only filtering and pagination.
Instructions
List recent emails in a folder of the given account. Pass the user's email address as account; the server routes to the correct backend automatically. Each item may include webUrl, a user-shareable native-client link that requires mailbox access, or webUrlUnavailableReason when no link is available.
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": "list_emails"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skip | No | ||
| limit | No | ||
| folder | No | inbox | |
| account | Yes | ||
| unreadOnly | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skip | Yes | ||
| count | Yes | ||
| items | Yes | ||
| account | Yes | ||
| hasMore | Yes |