Skip to content

maho thread

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

Terminal window
maho thread <account_id> <message_id> [flags]
ArgumentTypeDescription
account_idstringAccount ID
message_idstringMessage-ID header value of any email in the thread
FlagDescription
--jsonOutput as JSON
Terminal window
# View a thread
maho thread acc1 "<msg1@example.com>"
# Get thread as JSON
maho thread acc1 "<msg1@example.com>" --json
# Summarize a thread with AI
maho thread acc1 "<msg1@example.com>" --json | llm 'summarize this email thread'