Extracted the mail sending service from CreateAccountController.