Setting mailbot.py to only retry 10 times