Added messgae in email function