Set up gmcli - install, configure credentials, and add Gmail accounts
Sets up gmcli for terminal-based Gmail management with OAuth credentials.
/plugin marketplace add ThrownLemon/claude-code-plugins/plugin install gmcli@travis-pluginsSet up and configure gmcli for managing Gmail from the terminal.
This command delegates to the gmail-assistant subagent which will guide you through setup:
Check if gmcli is installed and configured, show account status.
Install gmcli via npm:
npm install -g @mariozechner/gmcli
Guide through Google Cloud Console setup:
Add a Gmail account to gmcli. Requires credentials to be configured first.
Show all configured Gmail accounts.
Remove a Gmail account from gmcli configuration.
Install gmcli
/gmcli:setup --action install
Configure Google credentials
/gmcli:setup --action credentials
This will guide you through creating OAuth2 credentials in Google Cloud Console.
Add your Gmail account
/gmcli:setup --action add-account
Opens browser for OAuth authentication.
Verify setup
/gmcli:setup --action status
# Check current status
/gmcli:setup
/gmcli:setup --action status
# Full setup from scratch
/gmcli:setup --action install
/gmcli:setup --action credentials
/gmcli:setup --action add-account
# Manage accounts
/gmcli:setup --action list-accounts
/gmcli:setup --action remove-account
gmcli stores all data in ~/.gmcli/:
credentials.json - OAuth2 client credentialsaccounts/ - Per-account tokensattachments/ - Downloaded attachmentsUse the gmail-assistant subagent to handle setup. Pass the arguments: