Skip to content

Using Python and Streamlit with the help of Nylas, create an email dashboard to get insights on your inbox.

License

Notifications You must be signed in to change notification settings

nylas-samples/streamlit_email_dashboard

Repository files navigation

streamlit_email_dashboard

This sample will show you how to create an email dashboard using Streamlit.

You can follow along step-by-step in our blog post "Streamlit: Building an Email Dashboard".

Setup

System dependencies

  • Python v3.x

Gather environment variables

You'll need the following values:

CLIENT_ID = ""
CLIENT_SECRET = ""
ACCESS_TOKEN = ""

Add the above values to a new .env file:

$ touch .env # Then add your env variables

Install dependencies

$ pip3 install streamlit # Pure Python package that allows you to create data scripts into web apps in minutes
$ pip3 install python-dotenv # Environment variables
$ pip3 install matplotlib # Library for creating static, animated, and interactive visualizations
$ pip3 install pandas # Python data analysis library

Usage

Run the file streamlit_email_dashboard.py:

$ streamlit run streamlit_email_dashboard.py

Streamlit will open up your browser on port 8510.

Learn more

Visit our Nylas Python SDK documentation to learn more.

About

Using Python and Streamlit with the help of Nylas, create an email dashboard to get insights on your inbox.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages