maho list
List emails in a specific folder, sorted by date descending.
maho list <account_id> <folder_id> [flags]Arguments
Section titled “Arguments”| Argument | Type | Description |
|----------|------|-------------|
| account_id | string | Account ID |
| folder_id | string | Folder ID (use maho folders to find) |
| Flag | Type | Default | Description |
|------|------|---------|-------------|
| --limit | i64 | 20 | Maximum number of emails to return |
| --offset | i64 | 0 | Offset for pagination |
| --json | — | — | Output as JSON |
Examples
Section titled “Examples”# List latest 20 emails in INBOXmaho list acc1 fold1
# List 50 emails with offset, as JSONmaho list acc1 fold1 --limit 50 --offset 0 --json
# Pipe to jq for processingmaho list acc1 fold1 --json | jq '.[].subject'