A Python module for sending emails with Gmail.
pip install easyemailer
easyemailer.send_gmail([gmailusername], [gmailpassword], [to], [subject], [from], [firebase database url OR None])
If you want to write all emails sent with the command to a Firebase Realtime database, you will need to edit the rules: