with one click
gmcli
// Gmail CLI for searching emails, reading threads, sending messages, managing drafts, and handling labels/attachments.
// Gmail CLI for searching emails, reading threads, sending messages, managing drafts, and handling labels/attachments.
Interactive browser automation via Chrome DevTools Protocol. Use when you need to interact with web pages, test frontends, or when user interaction with a visible browser is required.
Web search and content extraction via Brave Search API. Use for searching documentation, facts, or any web content. Lightweight, no browser required.
Google Drive CLI for listing, searching, uploading, downloading, and sharing files and folders.
Speech-to-text transcription using Groq Whisper API. Supports m4a, mp3, wav, ogg, flac, webm.
Google Calendar CLI for listing calendars, viewing/creating/updating events, and checking availability.
Fetch transcripts from YouTube videos for summarization and analysis.
| name | gmcli |
| description | Gmail CLI for searching emails, reading threads, sending messages, managing drafts, and handling labels/attachments. |
Command-line interface for Gmail operations.
npm install -g @mariozechner/gmcli
First check if already configured:
gmcli accounts list
If no accounts, guide the user through setup:
gmcli accounts credentials ~/path/to/credentials.jsongmcli accounts add <email> (use --manual for browserless OAuth)Run gmcli --help for full command reference.
Common operations:
gmcli <email> search "<query>" - Search emails using Gmail query syntaxgmcli <email> thread <threadId> - Read a thread with all messagesgmcli <email> send --to <emails> --subject <s> --body <b> - Send emailgmcli <email> labels list - List all labelsgmcli <email> drafts list - List drafts~/.gmcli/credentials.json - OAuth client credentials~/.gmcli/accounts.json - Account tokens~/.gmcli/attachments/ - Downloaded attachments