add logs as attachments to email