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

Gmail - Send email
Tags: #gmail #email #send #python #library #smtplib
Author: Florent Ravenel
Last update: 2023-05-12 (Created: 2023-05-12)
Description: This notebook will show how to send an email using naas_drivers. It is usefull for organizations that need to send emails from their Gmail account.
References:
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.email_to: This variable stores the email receiver address.email_subject: This variable stores the email subject.email_msg: This variable stores the email msg.