Fix ejs sendmail with mime attachments