new app.py
added mail class