refactor EMailSendRESTfulService