> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# appmixer.microsoft.mail.ListFolders

- Component: `appmixer.microsoft.mail.ListFolders`
- Kind: Action
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.microsoft.mail 2.3.0](https://connectors.appmixer.com/connector/appmixer.microsoft.mail/2.3.0.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.microsoft.mail/2.3.0/component/appmixer.microsoft.mail.ListFolders>

Retrieves all folders in mailbox.

## Input ports

### Port `in`

_No fields defined for this port._

## Output ports

### Port `out`

| Field | Type | Description |
| --- | --- | --- |
| Folders (`folders`) | array | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.microsoft.mail.ListFolders",
  "author": "Harsha Surisetty <harsha@client.io>",
  "description": "Retrieves all folders in mailbox.",
  "private": false,
  "version": "1.0.0",
  "auth": {
    "service": "appmixer:microsoft",
    "scope": [
      "MailboxSettings.Read"
    ]
  },
  "inPorts": [
    "in"
  ],
  "outPorts": [
    {
      "name": "out",
      "options": [
        {
          "label": "Folders",
          "value": "folders",
          "schema": {
            "type": "array",
            "example": [
              {
                "id": "AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OAAuAAAAAAAiQ8W967B7TKBjgx9rVEURAQAiIsqMbYjsT5e-T7KzowPTAAAAAAEMAAA=",
                "displayName": "Inbox",
                "parentFolderId": "AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OAAuAAAAAAAiQ8W967B7TKBjgx9rVEURAQAiIsqMbYjsT5e-T7KzowPTAAAAAAEIAAA=",
                "childFolderCount": 0,
                "unreadItemCount": 3,
                "totalItemCount": 42,
                "isHidden": false
              }
            ]
          }
        }
      ]
    }
  ],
  "icon": "(data URI omitted)"
}
```
