Prevent double base64 encoding of attachments when signing (#5014).
Restrict adding outgoing footer to text/plain messages.
Merge remote-tracking branch 'refs/remotes/drebs/bug/5014_fix-attachment-processing-when-signing' into develop