class Mail::Message

def multipart_report?

Returns true if the message is a multipart/report
def multipart_report?
  multipart? && sub_type =~ /^report$/i
end