Skip to content

maho thread

Retrieve all emails in a conversation thread by Message-ID.

Terminal window
maho thread <account_id> <message_id> [flags]

| Argument | Type | Description | |----------|------|-------------| | account_id | string | Account ID | | message_id | string | Message-ID header value of any email in the thread |

| Flag | Description | |------|-------------| | --json | Output as JSON |

Terminal window
# View a thread
maho thread acc1 "<[email protected]>"
# Get thread as JSON
maho thread acc1 "<[email protected]>" --json
# Summarize a thread with AI
maho thread acc1 "<[email protected]>" --json | llm 'summarize this email thread'