maho get
Retrieve the full content of a specific email, including body, headers, and attachment metadata.
maho get <email_id> [flags]Arguments
Section titled “Arguments”| Argument | Type | Description |
|---|---|---|
email_id | string | Email ID |
| Flag | Description |
|---|---|
--json | Output as JSON |
Examples
Section titled “Examples”# Display email contentmaho get em1
# Get as JSON and pipe to an LLMmaho get em1 --json | llm 'summarize this email'
# Extract specific fieldsmaho get em1 --json | jq '{subject: .subject, from: .from, date: .date}'