that python3 script that send ip info to email using gmail smtp you will need to allow https://myaccount.google.com/lesssecureapps it like ip keyloger
how to install
pip3 install -r requirements.txt
or
pip install -r requirements.txt
i hope you like it :)