Only set original_charset when a charset has been defined for the mail part. Fixes #942.