class Mail::Header

def self.maximum_amount

Default: 1000
mail library.
Use this parameter to limit number of headers that will be parsed by
Large amount of headers in Email might create extra high CPU load
def self.maximum_amount
  @@maximum_amount
end