Path: blob/master/Gmail/Gmail_Get_most_important_unseen_emails.ipynb
2973 views
Gmail - Get most important unseen emails
Tags: #gmail #productivity #naas_drivers #operations #automation #analytics #plotly
Author: Antonio Georgiev
Last update: 2023-07-19 (Created: 2023-07-19)
Description: This notebook retrieves all emails for a set period of time and calculates the user's reply rate to each sender. By identifying the important senders with a higher reply rate, the code helps prioritize the user's responses and ensures timely communication. The code then outputs the list of unseen emails from these important senders, providing a focused view of the most relevant and pending email conversations.
Input
Import libraries
Setup Variables
Create an application password following this procedure
username
: This variable stores the username or email address associated with the email accountpassword
: This variable stores the password or authentication token required to access the email accountdate_start
: Number of days to filter your inbox, it must be negative valuemost_common_senders
: Number of most common senders you want to list as output