get_new_emails
Fetch a bounded batch of inbox emails not previously returned by earlier calls, optionally scoped to one account, so agents can poll for new mail on their own schedule.
Instructions
Fetch a bounded batch of inbox emails not previously returned by this tool. Agents should call this on their own schedule. Bodies are returned as markdown and may be truncated. Each email may include webUrl, a user-shareable native-client link that requires mailbox access, or webUrlUnavailableReason when no link is available.
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": "get_new_emails"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum emails to return. Defaults to 10. Use 0 to initialize/check without fetching bodies. | |
| account | No | Email account to poll. If omitted, polls all accounts with one global limit. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| emails | Yes | ||
| errors | Yes |