create centralise email sending to base controller