List mail folders
list-mail-foldersList readable mailbox folders with sync and unread counts, INBOX first, so you can choose the correct folder path for listing or searching emails.
Instructions
[Email] List the folders of the connected mailbox that this token may read, INBOX first, with how many emails are synced and unread in each. Folder path is what list-emails and search-emails take as folder. synced: false folders (All Mail, Junk, Trash, and folders that cannot hold mail) exist on the server but are not synced, so nothing in them can be listed or searched. serverMessages is what the server reported the folder holds; when history.complete is false, older mail in that folder has not been synced (history.stopped says if a limit stopped it).
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": "list-mail-folders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||