renamed email task to mail because of some name collision in smtplib