Usage
First Launch
On first launch, Matcha will prompt you to configure an email account. You'll need:
- Your email address
- Your password (or app-specific password for Gmail/iCloud)
- Email provider (Gmail, iCloud, or Custom)
Keyboard Shortcuts
Main Menu
↑/↓orj/k- Navigate menu itemsEnter- Select optionEsc- Go back / ExitCtrl+C- Quit application
Inbox View
↑/↓orj/k- Navigate emails←/→orh/l- Switch between account tabsEnter- Open selected email/- Filter/search emailsr- Refresh inbox[/]- Switch focus between inbox and split pane (when split pane is enabled)d- Delete selected emaila- Archive selected emailv- Enter visual mode (multi-select)Esc- Back to main menu
Visual Mode (Multi-Select)
Visual mode allows you to select multiple emails and perform batch operations, similar to Vim's visual mode:
v- Enter visual mode (selects current email)↑/↓orj/k- Expand/contract selectiond- Delete all selected emailsa- Archive all selected emailsm- Move all selected emails to a foldervorEsc- Exit visual mode
Visual indicators:
>- Cursor position*- Selected email (not cursor)>*- Selected email with cursor- Title shows: "Inbox - VISUAL (N selected)"
Features:
- Efficient batch operations using single IMAP commands
- Automatic prevention of cross-account selections
- Works in both inbox and folder views
- Visual mode disabled during search/filtering for safety
Email View
↑/↓orj/k- Scroll email contentr- Reply to emaild- Delete emaila- Archive emailTab- Focus attachmentsEsc- Back to inboxi- Toggle images
Attachment View (when focused)
↑/↓orj/k- Navigate attachmentsEnter- Download and open attachmentTaborEsc- Back to email body
Composer
Tab/Shift+Tab- Navigate fieldsEnter-- On "From" field: Select account (if multiple)
- On "Attachment" field: Open file picker
- On "Send" button: Send email
↑/↓- Navigate contact suggestions (when typing in "To" field)Esc- Save draft and exit
CLI Commands
Matcha includes several CLI subcommands that work without launching the TUI.
Send Email
Send an email directly from the command line:
matcha send --to user@example.com --subject "Hello" --body "Hi there"
This is useful for scripts, automation, and AI agent integration. See the full CLI reference for all options.
Update
Check for updates and install the latest version:
matcha update
This command will:
- Check for the latest release on GitHub
- Detect your installation method (Homebrew, Snap, or binary)
- Update using the appropriate method
Gmail OAuth2
Manage Gmail OAuth2 authorization:
matcha gmail auth <email> # Authorize a Gmail account
matcha gmail token <email> # Print a fresh access token
matcha gmail revoke <email> # Revoke stored tokens