Path: blob/master/Gmail/Gmail_Get_emails_by_date.ipynb
2973 views
Gmail - Get emails by date
Tags: #gmail #productivity #naas_drivers #operations #automation #analytics #plotly
Author: Antonio Georgiev
Last update: 2023-07-07 (Created: 2023-07-07)
Description: This notebook provides an example of how to retrieve emails based on a specified date or filter them by 'before' or 'after' a given date. It demonstrates the process of fetching emails using date-based criteria for more targeted email retrieval.
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 accountsmtp_server
: This variable represents the SMTP server address used for sending emails.box
: This variable stores the name or identifier of the mailbox or folder within the email account that will be accessed.