Revert "Update mail.py"

This reverts commit 32b67028c5e704cfe419f4f22e2588060203dcb6.
Revert "fixes #32"

This reverts commit 18d518f4e8ac97df6d915e61499f4103869a6475.