Added function to send mail to admin