A fast, script-friendly CLI for Zoho Mail. JSON by default. Pipe to jq. Integrate with your workflows.
[
{
"messageId": "1771333290108014300",
"subject": "Q1 invoice attached",
"from": "billing@acme.com",
"date": "1740067200000",
"unread": true,
"hasAttachments": true
},
{
"messageId": "1771333290108014301",
"subject": "Meeting notes",
"from": "team@company.com",
"date": "1740063600000",
"unread": false,
"hasAttachments": false
}
]
A complete toolkit for managing Zoho Mail from the command line
Structured output for scripts and automation
Human-readable format with --md flag
Secure browser-based login
Switch between accounts seamlessly
Create, rename, organize programmatically
Designed for automation workflows
Python 3.11+ required. Works on macOS, Linux, and Windows.
Explore available commands and their output formats
[
{
"messageId": "1771333290108014300",
"subject": "Q1 invoice attached",
"from": "billing@acme.com",
"date": "1740067200000",
"unread": true
}
]
--account--md--debug--configThree steps to connect your Zoho Mail account. Region auto-detected.
Go to Zoho API Console and create a Mobile/Desktop Application client.
zoho-clihttp://localhost:51821/callbackRun the config command and enter your Client ID and Secret.
zoho config init~/.config/zoho-cli/Log in to Zoho and authorize the CLI.
zoho loginAuto-detects your Zoho data center. No configuration needed.
Tip: For CI/headless, use zoho login --no-browser