Path: blob/master/Gmail/Gmail_Clean_mailbox.ipynb
3514 views

Gmail - Clean mailbox
Tags: #gmail #productivity #naas_drivers #operations #automation #scheduler
Author: Florent Ravenel
Last update: 2023-05-12 (Created: 2021-04-14)
Description: This notebook helps you quickly and easily organize your Gmail inbox by removing unwanted emails.
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.remove_emails_from: This variable stores the list of emails to be deleted in your email boxcron: CRON to be set to schedule your notebook. More info here