maho mail thread
Retrieve all emails in a conversation thread by Message-ID.
maho mail thread --account-id <account_id> --message-id <message_id> [--json]| Flag | Type | Description |
|---|---|---|
--account-id | string | Account ID containing the message |
--message-id | string | Message-ID header value of any email in the thread |
--json | — | Output as JSON |
Examples
Section titled “Examples”# View a threadmaho mail thread --account-id acc1 --message-id "<msg1@example.com>"
# Get thread as JSONmaho mail thread --account-id acc1 --message-id "<msg1@example.com>" --json
# Summarize a thread with AImaho mail thread --account-id acc1 --message-id "<msg1@example.com>" --json | llm 'summarize this email thread'Standalone binary
Section titled “Standalone binary”The optional standalone maho-mail binary exposes the same query with positional arguments instead of flags:
maho-mail thread <account_id> <message_id> [--json]