Set Content-Transfer-Encoding to be base64 by default for messages and
fixed the order of mime message elements