Get Emails by Label
get_emails_by_labelRetrieve emails associated with a specific label. Use optional limit and cursor to paginate through results.
Instructions
Legacy convenience wrapper for get_emails with folder set to Labels/. Prefer get_emails when you need the canonical pagination and summaryOnly options.
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": {
"label": "<label>"
},
"name": "get_emails_by_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | Label name without prefix (e.g. Work) | |
| limit | No | Emails per page, 1-200 | |
| cursor | No | Opaque cursor from previous response | |
| account_id | No | Optional account ID to route this call to (multi-account configs). Omit to use the active account. Configured account IDs are listed in the settings UI (Accounts tab). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| emails | Yes | ||
| folder | Yes | ||
| nextCursor | No |