added managed executor service api to sending mails