Fix not allowed encoding of content-transfer-encoding and content-type headers in single part encoded mails

for single-part mime mails.

See #5128

Requires #5303 
Needs to be adapted if #5291 is merged.