Command reference for the Paw Mail CLI tools
paw-mailThis document contains the help content for the paw-mail command-line program.
Command Overview:
paw-mail↴paw-mail tui↴paw-mail auth↴paw-mail auth login↴paw-mail auth logout↴paw-mail auth status↴paw-mail accounts↴paw-mail accounts list↴paw-mail accounts get↴paw-mail accounts add↴paw-mail accounts delete↴paw-mail accounts activate↴paw-mail accounts deactivate↴paw-mail accounts oauth-clients↴paw-mail emails↴paw-mail emails folders↴paw-mail emails list↴paw-mail emails fetch↴paw-mail emails body↴paw-mail emails search↴paw-mail emails read↴paw-mail emails unread↴paw-mail emails flag↴paw-mail emails move↴paw-mail emails delete↴paw-mail sync↴paw-mail sync status↴paw-mail sync trigger↴paw-mail sync history↴paw-mail threads↴paw-mail threads list↴paw-mail threads get↴paw-mail config↴paw-mail config refresh↴paw-mail config show↴paw-mailCombined mail CLI and TUI — manage accounts, read and organize email, trigger sync, and browse conversation threads. Run a subcommand for CLI mode, or ‘paw-mail tui’ for interactive TUI mode.
Usage: paw-mail [OPTIONS] <COMMAND>
tui — Launch interactive TUI modeauth — Authentication managementaccounts — Account managementemails — Email operationssync — Sync managementthreads — Thread/conversation managementconfig — Configuration management--server <URL> — Backend server address--format <FORMAT> — Output format: table or json (for CLI commands)
Default value: table
Possible values: table, json
--auth-backend <BACKEND> — Token storage backend: auto, keyring, or file-v, --verbose — Enable verbose loggingpaw-mail tuiLaunch interactive TUI mode
Usage: paw-mail tui
paw-mail authAuthentication management
Usage: paw-mail auth <COMMAND>
login — Authenticate via OAuth Device Flowlogout — Clear stored authentication tokensstatus — Show current authentication statuspaw-mail auth loginAuthenticate via OAuth Device Flow
Usage: paw-mail auth login
paw-mail auth logoutClear stored authentication tokens
Usage: paw-mail auth logout
paw-mail auth statusShow current authentication status
Usage: paw-mail auth status
paw-mail accountsAccount management
Usage: paw-mail accounts <COMMAND>
list — List all accountsget — Get a specific account by provideradd — Link a new email account via OAuth (opens browser)delete — Delete an accountactivate — Activate an accountdeactivate — Deactivate an accountoauth-clients — List available OAuth clientspaw-mail accounts listList all accounts
Usage: paw-mail accounts list
paw-mail accounts getGet a specific account by provider
Usage: paw-mail accounts get --provider <PROVIDER>
--provider <PROVIDER> — Email provider: google, microsoft, app-passwordpaw-mail accounts addLink a new email account via OAuth (opens browser)
Usage: paw-mail accounts add --email <EMAIL> --provider <PROVIDER>
--email <EMAIL> — Email address to link to your account--provider <PROVIDER> — Email provider: google, microsoftpaw-mail accounts deleteDelete an account
Usage: paw-mail accounts delete --provider <PROVIDER>
--provider <PROVIDER> — Email provider: google, microsoft, app-passwordpaw-mail accounts activateActivate an account
Usage: paw-mail accounts activate --id <ID>
--id <ID> — Account ID (use ‘accounts list’ to find it)paw-mail accounts deactivateDeactivate an account
Usage: paw-mail accounts deactivate --id <ID>
--id <ID> — Account ID (use ‘accounts list’ to find it)paw-mail accounts oauth-clientsList available OAuth clients
Usage: paw-mail accounts oauth-clients [OPTIONS]
--system — Show system-level clients instead of user clientspaw-mail emailsEmail operations
Usage: paw-mail emails <COMMAND>
folders — List folders for an accountlist — List messages in a folderfetch — Fetch a specific messagebody — Fetch message bodysearch — Search messagesread — Mark message as readunread — Mark message as unreadflag — Flag/unflag a messagemove — Move a message to another folderdelete — Delete a messagepaw-mail emails foldersList folders for an account
Usage: paw-mail emails folders --provider <PROVIDER> --email <EMAIL>
--provider <PROVIDER> — Email provider: google, microsoft, app-password--email <EMAIL> — Account email addresspaw-mail emails listList messages in a folder
Usage: paw-mail emails list [OPTIONS] --provider <PROVIDER> --email <EMAIL> --folder <FOLDER>
--provider <PROVIDER> — Email provider: google, microsoft, app-password--email <EMAIL> — Account email address--folder <FOLDER> — Mailbox folder name (e.g. INBOX, Sent, Drafts)--limit <LIMIT> — Maximum number of messages to return
Default value: 50
paw-mail emails fetchFetch a specific message
Usage: paw-mail emails fetch --provider <PROVIDER> --email <EMAIL> --folder <FOLDER> --uid <UID>
--provider <PROVIDER> — Email provider: google, microsoft, app-password--email <EMAIL> — Account email address--folder <FOLDER> — Mailbox folder name (e.g. INBOX, Sent, Drafts)--uid <UID> — Message UID (unique identifier within the folder)paw-mail emails bodyFetch message body
Usage: paw-mail emails body --provider <PROVIDER> --email <EMAIL> --folder <FOLDER> --uid <UID>
--provider <PROVIDER> — Email provider: google, microsoft, app-password--email <EMAIL> — Account email address--folder <FOLDER> — Mailbox folder name (e.g. INBOX, Sent, Drafts)--uid <UID> — Message UID (unique identifier within the folder)paw-mail emails searchSearch messages
Usage: paw-mail emails search --provider <PROVIDER> --email <EMAIL> --folder <FOLDER> --query <QUERY>
--provider <PROVIDER> — Email provider: google, microsoft, app-password--email <EMAIL> — Account email address--folder <FOLDER> — Mailbox folder name (e.g. INBOX, Sent, Drafts)--query <QUERY> — IMAP search query stringpaw-mail emails readMark message as read
Usage: paw-mail emails read --provider <PROVIDER> --email <EMAIL> --folder <FOLDER> --uid <UID>
--provider <PROVIDER> — Email provider: google, microsoft, app-password--email <EMAIL> — Account email address--folder <FOLDER> — Mailbox folder name (e.g. INBOX, Sent, Drafts)--uid <UID> — Message UID (unique identifier within the folder)paw-mail emails unreadMark message as unread
Usage: paw-mail emails unread --provider <PROVIDER> --email <EMAIL> --folder <FOLDER> --uid <UID>
--provider <PROVIDER> — Email provider: google, microsoft, app-password--email <EMAIL> — Account email address--folder <FOLDER> — Mailbox folder name (e.g. INBOX, Sent, Drafts)--uid <UID> — Message UID (unique identifier within the folder)paw-mail emails flagFlag/unflag a message
Usage: paw-mail emails flag [OPTIONS] --provider <PROVIDER> --email <EMAIL> --folder <FOLDER> --uid <UID>
--provider <PROVIDER> — Email provider: google, microsoft, app-password--email <EMAIL> — Account email address--folder <FOLDER> — Mailbox folder name (e.g. INBOX, Sent, Drafts)--uid <UID> — Message UID (unique identifier within the folder)--unflag — Unflag instead of flagpaw-mail emails moveMove a message to another folder
Usage: paw-mail emails move --provider <PROVIDER> --email <EMAIL> --folder <FOLDER> --uid <UID> --destination <DESTINATION>
--provider <PROVIDER> — Email provider: google, microsoft, app-password--email <EMAIL> — Account email address--folder <FOLDER> — Mailbox folder name (e.g. INBOX, Sent, Drafts)--uid <UID> — Message UID (unique identifier within the folder)--destination <DESTINATION> — Target folder to move the message topaw-mail emails deleteDelete a message
Usage: paw-mail emails delete --provider <PROVIDER> --email <EMAIL> --folder <FOLDER> --uid <UID>
--provider <PROVIDER> — Email provider: google, microsoft, app-password--email <EMAIL> — Account email address--folder <FOLDER> — Mailbox folder name (e.g. INBOX, Sent, Drafts)--uid <UID> — Message UID (unique identifier within the folder)paw-mail syncSync management
Usage: paw-mail sync <COMMAND>
status — Get current sync status for an accounttrigger — Trigger a sync operationhistory — List recent sync historypaw-mail sync statusGet current sync status for an account
Usage: paw-mail sync status --account-id <ACCOUNT_ID>
--account-id <ACCOUNT_ID> — Account ID (use ‘accounts list’ to find it)paw-mail sync triggerTrigger a sync operation
Usage: paw-mail sync trigger [OPTIONS] --account-id <ACCOUNT_ID>
--account-id <ACCOUNT_ID> — Account ID (use ‘accounts list’ to find it)--type <TYPE> — Sync type: full, incremental, quick
Default value: incremental
--folders <FOLDERS> — Restrict to specific folders (comma-separated)paw-mail sync historyList recent sync history
Usage: paw-mail sync history [OPTIONS] --account-id <ACCOUNT_ID>
--account-id <ACCOUNT_ID> — Account ID (use ‘accounts list’ to find it)--limit <LIMIT> — Maximum number of history entries to return
Default value: 20
paw-mail threadsThread/conversation management
Usage: paw-mail threads <COMMAND>
list — List conversation threadsget — Get a specific thread with its messagespaw-mail threads listList conversation threads
Usage: paw-mail threads list [OPTIONS] --account-id <ACCOUNT_ID>
--account-id <ACCOUNT_ID> — Account ID (use ‘accounts list’ to find it)--limit <LIMIT> — Maximum number of threads to return
Default value: 50
--offset <OFFSET> — Number of threads to skip for pagination
Default value: 0
paw-mail threads getGet a specific thread with its messages
Usage: paw-mail threads get --thread-id <THREAD_ID> --account-id <ACCOUNT_ID>
--thread-id <THREAD_ID> — Thread ID--account-id <ACCOUNT_ID> — Account ID (use ‘accounts list’ to find it)paw-mail configConfiguration management
Usage: paw-mail config <COMMAND>
refresh — Fetch config from remote server and cache locallyshow — Show current config valuespaw-mail config refreshFetch config from remote server and cache locally
Usage: paw-mail config refresh
paw-mail config showShow current config values
Usage: paw-mail config show
This document was generated automatically by
clap-markdown.