adding controller to send emails
adding controller to send emails