bug in send email task