Skip to content
Tinbox

CLI command

tinbox list-contact-messages

Inspect actual stored communication for a contact or exact email. Default threads view returns conversation choices and counts; messages view returns envelopes only, never bodies. Includes authorized archive/spam/trash, excludes drafts/internal notes. Counts describe stored messages, not ledger-only sends. Open a chosen thread with list_thread_messages, then read_message_body as needed. Continue nextCursor with identical filters/view.

Generated from tool: list_contact_messages

Usage

sh
tinbox list-contact-messages --contactId <contactId> --email <email> --view <view> --inboxId <inboxId> --direction <direction> --since <since> --until <until> --cursor <cursor> --limit <limit>

Flags

NameTypeRequiredDefaultDescription
--contactIdstringyes—Existing contact ID; choose this OR email.
--emailstringyes—Exact email; choose this OR contactId. Reading never registers a contact.
--viewstringyes—view
--inboxIdstringyes—inboxId
--directionstringyes—direction
--sincestringyes—Inclusive epoch milliseconds.
--untilstringyes—Exclusive epoch milliseconds.
--cursorstringyes—cursor
--limitstringyes—Page size; default 10, maximum 25.