logging to send email body