This script logins to the Google account using your credentials info from configs.py and send the mail.
2022-04-15.13-24-16.mp4
- Install all the library we will need
pip3 install -r requirements.txt
- We also have to run
playwright install
to install browser bundle and everything for playwright. More detail
Change the configs key to use thin mailer/configs.json. All the keys there are self-explanatory.
python3 run.py
Please disable two factor authentication or if you dont want to disable it, input verification code within 30 seconds(the default timeout time in playwright). Also note that Google is notorious in making login difficult by showing (Setup recovery password page and many more after login page). I tried to make login smooth as possible but it may not work everytime because of the new pages google might throw. Please raise an issuse for page not handled by code with the url of the page and if possible, effective solution to tackle that.
- Add support for proxy