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".
- Python v3.x
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
$ 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
Run the file streamlit_email_dashboard.py:
$ streamlit run streamlit_email_dashboard.py
Streamlit will open up your browser on port 8510.
Visit our Nylas Python SDK documentation to learn more.