class Mail::Message

def allowed_encodings

def allowed_encodings
  case mime_type
  when 'message/rfc822'
    [Encodings::SevenBit, Encodings::EightBit, Encodings::Binary]
  end
end