added mail feature nd upload in Application.scala