Broken archives when sending internal emails with attachments