# File lib/mail/message.rb, line 1342
    def main_type
      has_content_type? ? header[:content_type].main_type : nil
    end