emacs: bugfix attachment content-type as mime-type handling