Skip to content

nylas-samples/quickstart-webhook-python

Repository files navigation

How to run

  1. Install the read_webhooks_python folder in your favourite webserver. Make sure to add an empty CLIENT_SECRET to your enviroment variables.

  2. Run the create_webhooks_python

python3 create_webhooks_python.py
  1. Grab the client secret generated in step 2 and use it to replace the empty CLIENT_SECRET variable

  2. 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>"
  1. Open your browser and go to the link generated by your server.

  2. Send or recieve emails and you will the webhooks notification showing up on your application main page.

About

Quickstart Webhook Guide for Python

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published