Reset $part_orig_mimetype variable in for-loop. This avoids attachments along with message/rfc822 parts being listed twice