capabilities.work

List a mailbox's folders and labels

One step with Nylas. We can help you get access.

Look something up

List a mailbox's folders and labels

with Nylas
Works with AI assistants

Use Nylas: its Nylas Folders API lets you list a mailbox's folders and labels in a single step (GET /v3/grants/{grant_id}/folders). Nylas also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.

  • What folders or labels exist in this user's mailbox?
  • Can I include hidden folders for Microsoft accounts?
  • How can I list only the child folders under a parent?
Say it to your AI assistant
  • List all folders for grant {grant}.
  • Show subfolders of {parent_id} for {grant}.
For your developer

GET /v3/grants/{grant_id}/folders in Nylas Folders API. Full spec on APIs.io.