---
title: "Debug Mailbox"
method: GET
path: "/email-accounts/{account_id}/debug_mailbox/{uid}"
tags: ["integrations"]
---

# Debug Mailbox

`GET /email-accounts/{account_id}/debug_mailbox/{uid}`

## Request

- Base URL: `https://app.zeno-works.ch` (the document declares no server; this is the origin it was published from)
- URL: `https://app.zeno-works.ch/email-accounts/{account_id}/debug_mailbox/{uid}`
- Auth: none declared

IMAP introspection for one account (admin, debug only).

Live IMAP I/O is owned by the integration client (cron/analyzer side) and is not
wired into the API yet; the route resolves the account and honors
``INTEGRATIONS_READ_ONLY`` (no mutation). Until the live client lands it reports
that live introspection is unavailable rather than performing network I/O here.

## Path parameters

- `account_id` string, required
- `uid` string, nullable, required

## Headers

- `authorization` string, nullable

## Cookies

- `access_token` string, nullable

## Response `200`

Successful Response

- MsgResponse: The ``{"msg": "..."}`` envelope — the error contract and many successes.
  - `msg` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/zeno-works/apis/zeno-api.md) · [All operations](https://skmtc.dev/zeno-works/apis/zeno-api/llms.txt) · [OpenAPI document](https://skmtc.dev/zeno-works/apis/zeno-api/revisions/1eb93dde146c?raw)
