Follow these steps to get your Client ID and Client Secret from Zoho.
Go to Zoho API Console
Click "Add Client"
Select "Server-based Applications"
Fill in the Application Details
Fill in the form with these values:
Click "Create" and copy your credentials
ZohoMail.messages.READ and ZohoMail.accounts.READ. This is read-only — no emails are modified.