class Mail::Message

def parts

Returns a parts list object of all the parts in the message
def parts
  body.parts
end