Skip to content

nylas-samples/python-email-read

Repository files navigation

python-email-read

This sample will show you to easily read your email with the Nylas Python SDK.

Setup

System dependencies

  • Python v3.x

Gather environment variables

You'll need the following values:

V3_TOKEN =
GRANT_ID =
V3_HOST = 

Add the above values to a new .env file:

$ touch .env # Then add your env variables

Install dependencies

$ pip3 install nylas
$ pip3 install dotenv

Usage

Run the script using the ruby command:

$ python3 ReadEmails.py

You will get a list of your emails in the following format

[2023-11-22] It's Blag's birthday!

Learn more

Visit our Nylas Python SDK documentation to learn more.

Releases

No releases published

Packages

No packages published

Languages