Easy Mailer is a simple python package that allows you to send emails with ease.
from ease_mailer import mailer
mailer.Mail.help() # Shows the help message
mail_class = mailer.Mail("[email protected]", "youremailpassword") # Creates an instance of the class
mail_class.login() # Logs the user in returns True if successful, False otherwise
mail_class.send_mail("[email protected]", "Subject", "Body") # Sends the email, throws an error if user is not logged in returns True if successful, False otherwise
mail_class.show_status() # Shows the status of the email whether it was sent or not returns "Email sent successfully" if successful, "Email failed to send" otherwise