Fix Mailer for binary attachment