TOOL REFERENCE / SOURCE GENERATEDMAILMAN MCP / MAIL
email_list_folders
Lists one mailbox's folders and labels, normalized to a common type (inbox, sent, drafts, trash, spam, archive, starred, important, custom) alongside the provider's own identifier. Call this before email_move_message, email_delete_folder, or any folder-scoped search: those take folder ids from here, and the system flag tells you which folders cannot be deleted.
Input fields
{
"type": "object",
"properties": {
"account_id": {
"type": "string",
"minLength": 1,
"description": "The connected mailbox to act on, from email_accounts_list. Never guess this value and never reuse one across mailboxes — it selects both the credential and the permission set the call runs under."
}
},
"required": [
"account_id"
]
}Tool behavior
Declared read-only. Actual provider grants and account access apply.
Inspect isError and per-account errors. General write tools do not all enforce exact-plan approval. This reference does not certify any current AI client version.

YOUR AI POSTAL SYSTEMYOUR INBOXES.
Get started
YOUR INBOXES.
UNDER CONTROL.
Get started Start with a free account and one read-only search. Existing accounts keep their connection.