> 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.ListCategories

- Component: `appmixer.microsoft.mail.ListCategories`
- 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.ListCategories>

Retrieves all categories in mailbox.

## Input ports

### Port `in`

_No fields defined for this port._

## Output ports

### Port `out`

| Field | Type | Description |
| --- | --- | --- |
| Categories (`categories`) | array | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.microsoft.mail.ListCategories",
  "author": "Harsha Surisetty <harsha@client.io>",
  "description": "Retrieves all categories in mailbox.",
  "private": false,
  "version": "1.0.0",
  "auth": {
    "service": "appmixer:microsoft",
    "scope": [
      "MailboxSettings.Read"
    ]
  },
  "inPorts": [
    "in"
  ],
  "outPorts": [
    {
      "name": "out",
      "options": [
        {
          "label": "Categories",
          "value": "categories",
          "schema": {
            "type": "array",
            "example": [
              {
                "id": "7b0d93e5-6f2a-4c1b-9d8e-3a4f5b6c7d8e",
                "displayName": "Red category",
                "color": "preset0"
              }
            ]
          }
        }
      ]
    }
  ],
  "icon": "(data URI omitted)"
}
```
