add mailer to controller. TODO move to background job