class ActionMailer::Base

def collect_responses_from_text(headers)

def collect_responses_from_text(headers)
  [{
    body: headers.delete(:body),
    content_type: headers[:content_type] || "text/plain"
  }]
end