enhanced the sending email asynchrounous task