Update email_tool.py

fixed error in message sending where a bad password in the settings file would cause message sending to get stuck in an infinite loop