use smtplib to send mail