List emails
list_emailsList emails in your organization, newest first.
Instructions
List emails in your organization, newest first.
Cursor-paginated: pass the previous response's ``next_cursor`` to
fetch the next page. Two optional server-side filters:
* ``direction`` — ``outbound`` or ``inbound``. Pass
``direction="inbound"`` to read replies and other received mail.
* ``status`` — one of ``queued``, ``sent``, ``failed``,
``bounced``, ``complained``, ``received``.
Items are trimmed summaries (no message body). Call ``get_email``
with an item's ``id`` to read the full body.
Example:
list_emails(direction="inbound")
Returns ``{"items": [...], "next_cursor": <str|None>}`` on success,
or ``{"error": "<message>"}`` instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| cursor | No | ||
| status | No | ||
| direction | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||