mail_list
Lists recent Gmail messages by label, since date, or unread-only status, so you can review inbox, sent, starred, spam, trash, categories, or custom labels.
Instructions
List the newest messages with a label: INBOX (default), SENT, DRAFT, STARRED, SPAM, TRASH, a category
such as CATEGORY_PROMOTIONS, or one of your labels by name or id (see mail_labels). since is an ISO date
or date-time such as 2026-11-01, in the server's time zone unless it has an offset.
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": "mail_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | ||
| label | No | INBOX | |
| since | No | ||
| unread_only | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |