This was a python client made way back in 2018 lol. It works with gmail as long as you allow 3rd party clients to access your acc (can be enabled in google account settings), you can use it with other services if you know the smtp settings.
I am not liable for any damages you may cause with this code. All is done at your discrestion and own risk, also it is highly recommended you use a test account you have lying around and not your own personal account