log the content of the email when it is sent out as well