# File lib/premailer/rails/hook.rb, line 20
      def perform
        if skip_premailer_header_present?
          remove_skip_premailer_header
        elsif message_contains_html?
          replace_html_part(generate_html_part_replacement)
        end
      end