This sample will show you to easily read your email with the Nylas Python SDK.
- Python v3.x
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
$ pip3 install nylas
$ pip3 install dotenv
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!
Visit our Nylas Python SDK documentation to learn more.