Add Test and mail.py