---
title: "Test Imap"
method: POST
path: "/api/mailboxes/test-imap"
---

# Test Imap

`POST /api/mailboxes/test-imap`

## Request

- Base URL: `https://app.inboxmcp.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://app.inboxmcp.ai/api/mailboxes/test-imap`
- Auth: none declared

## Headers

- `authorization` string, nullable

## Request body

- ImapTestInput
  - `host` string, required
  - `username` string, required
  - `password` string, required
  - `folder_mode` 'auto' | 'single'
  - `folder` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/inboxmcp/apis/emailconnect.md) · [All operations](https://skmtc.dev/inboxmcp/apis/emailconnect/llms.txt) · [OpenAPI document](https://skmtc.dev/inboxmcp/apis/emailconnect/revisions/b432f864d7c5?raw)
