The Nylas email & calendar APIs power applications with email and scheduling features from any inbox in the world. The demo app is live at https://nylas-sales-demo.herokuapp.com/, contact [email protected] for a demo!
The server code was developed on Python 3.6.5
pip3 install virtualenv
virtualenv .venv --python=python3
source .venv/bin/activate
pip3 install -r requirements.txt
pip3 install .
yarn install
nylas_demo create_tables
nylas_demo add_user <first_name> <last_name> <email> <password> <nylas_access_token>
Please see our API documentation on hosted and native authentication for information on how to authenticate new users, and receive access tokens.
To use the API without implementing authentication, visit the Nylas Dashboard and register for a developer account. After you have registered, you can click 'Auth Account' to sync a new email account, and get your access token.
If you plan on using webhooks, the app will need your client secret in order to verify incoming webhooks. You can find your secret in the Nylas Dashboard in the Dashboard view. Click the eye icon beside App Secret to copy/paste.
export NYLAS_OAUTH_CLIENT_SECRET=<nylas_client_secret>
flask run
mypy api --ignore-missing-imports
pytest -v
yarn start
runs the front-end at http://localhost:3000
npm run flow