-
Install the read_webhooks_python folder in your favourite webserver. Make sure to add an empty CLIENT_SECRET to your enviroment variables.
-
Run the create_webhooks_python
python3 create_webhooks_python.py
-
Grab the client secret generated in step 2 and use it to replace the empty CLIENT_SECRET variable
-
env variables for create_webhooks_python.py
NYLAS_API_KEY=""
NYLAS_API_URI="https://api.us.nylas.com""
EMAIL="<RECIPIENT_EMAIL_ADDRESS_HERE>"
WEBHOOK_URL="<YOUR_WEBHOOK_URL>"
-
Open your browser and go to the link generated by your server.
-
Send or recieve emails and you will the webhooks notification showing up on your application main page.