Zoho Mail CLI is a node client tool used to authenticate and read account and messages data
* npm >= 5.0.0
* node >= 10.0.0
Clone and install required packages
git clone https://github.com/aghilanbaskar/zoho-mail-cli.git
cd zoho-mail-cli
npm i
npm install -g .
or install globally via npm package
npm install -g zoho-mail
To authenticate the CLI app.
mail login
To read the messages.
mail messages
Read messages with a custom request body
mail messages status=read limit=10 sortorder=true
Refer Zoho Get Mail Documentation to pass additional request body params.