Update mail.py

Main File: it contains the source code written in python