Skip to content
Python bindings for the Nylas Platform API
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.


Type Name Latest commit message Commit time
Failed to load latest commit information.
examples Fix Werkzeug ProxyFix Mar 4, 2020
tests add pagination comments Mar 11, 2020
.bumpversion.cfg Bump version: 4.9.0 → 4.10.0 Mar 9, 2020
.travis.yml Remove CLA requirement Sep 27, 2019
setup.cfg Fix limit param Mar 10, 2020

Nylas Python SDK Build Status Code Coverage

This is the GitHub repository for the Nylas Python SDK and this repo is primarily for anyone who wants to make contributions to the SDK or install it from source. If you are looking to use Python to access the Nylas Email, Calendar, or Contacts API you should refer to our official Python SDK Quickstart Guide.

The Nylas Communications Platform provides REST APIs for Email, Calendar, and Contacts, and the Python SDK is the quickest way to build your integration using Python

Here are some resources to help you get started:

If you have a question about the Nylas Communications Platform, please reach out to to get help.


The Nylas Python SDK is available via pip:

pip install nylas

To install the SDK from source, clone this repo and run the install script.

git clone && cd nylas-python
python install


To use this SDK, you first need to sign up for a free Nylas developer account.

Then, follow our guide to setup your first app and get your API access keys.

Next, in your python script, import the APIClient class from the nylas package, and create a new instance of this class, passing the variables you gathered when you got your developer API keys. In the following example, replace CLIENT_ID, CLIENT_SECRET, and ACCESS_TOKEN with your values.

from nylas import APIClient

nylas = APIClient(

Now, you can use nylas to access full email, calendar, and contacts functionality. For example, here is how you would print the subject line for the most recent email message to the console.

message = nylas.messages.first()

To learn more about how to use the Nylas Python SDK, please refer to our Python SDK QuickStart Guide and our Python tutorials.


Please refer to Contributing for information about how to make contributions to this project. We welcome questions, bug reports, and pull requests.


This project is licensed under the terms of the MIT license. Please refer to LICENSE for the full terms.

You can’t perform that action at this time.