Allow specifying of transfer encoding other than base64 for an attachment

Sometimes we need to specify content transfer encoding other than base64 for an attachment, for example, when forwarding email as a message/rfc822 attachment which requires 7bit, 8bit or binary encoding. (http://tools.ietf.org/html/rfc2046#section-5.2.1)