Update mail.py

Main File: it contains the program code