fixes for multipart mails decoding