add log for send email