---
title: "List Folders"
description: "List user labels (folders) in the connected Gmail mailbox."
canonical_url: "https://docs.vettero.com/build/workflows/blocks/gmail/list-folders"
---
# List Folders

> List user labels (folders) in the connected Gmail mailbox.

<block-meta block="Yes" capability="Gmail" channels="Any" folder="google/gmail" group="Gmail" groupTo="/build/workflows/blocks/gmail" icon="i-lucide-folder" pipe="Value" scope="Any" service="Google" tool="Yes" type="google.gmail.list_folders">



</block-meta>

**List Folders** returns **user labels** from the connected mailbox. Gmail treats those labels as folders in the UI. Nested folders use a slash in the name (for example `Work/Invoices`). System labels such as Inbox stay on [List Labels](https://docs.vettero.com/build/workflows/blocks/gmail/list-labels).

## Configure

No extra fields. The block uses the Google connection on the node.

## Pipe schema

<table>
<thead>
  <tr>
    <th>
      Key
    </th>
    
    <th>
      Type
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        folders[]
      </code>
    </td>
    
    <td>
      list
    </td>
    
    <td>
      <code>
        id
      </code>
      
      , <code>
        name
      </code>
    </td>
  </tr>
</tbody>
</table>

Use a folder id with [List Emails](https://docs.vettero.com/build/workflows/blocks/gmail/list-emails) or [Modify Labels](https://docs.vettero.com/build/workflows/blocks/gmail/modify-labels).

<block-page-nav>



</block-page-nav>


## Sitemap

See the full [sitemap](https://docs.vettero.com/sitemap.md) for all pages.
