maho search
Search emails using SQLite FTS5 full-text search across your local database.
maho search <query> [flags]Arguments
Section titled “Arguments”| Argument | Type | Description |
|---|---|---|
query | string | Search query (FTS5 syntax) |
| Flag | Type | Default | Description |
|---|---|---|---|
--account | string | — | Filter by account ID |
--folder | string | — | Filter by folder ID |
--limit | i64 | 20 | Maximum number of results |
--json | — | — | Output as JSON |
Examples
Section titled “Examples”# Search all emailsmaho search "project update"
# Search within a specific account and foldermaho search "invoice" --account acc1 --folder fold1
# Search and pipe to AImaho search "meeting notes" --json | llm 'summarize these meetings'