Setup GMail APIΒΆ

Hellolily uses Gmail and it’s API to process email accounts. You need to register an account for the Google API and set the following properties in the .env file:

GA_CLIENT_ID=
GA_CLIENT_SECRET=
GMAIL_CALLBACK_URL=

On the Google API site you should enable the Gmail API and create an OAuth 2.0 client ID for a web application. That gives you the GA_CLIENT_ID and GA_CLIENT_SECRET tokens.

The GMAIL_CALLBACK_URL is http://domain:port/messaging/email/callback/ (e.g. http://127.0.0.1:8000/messaging/email/callback/).