Hi,

on Ruby 1.8.7 mailread.rb was part of the Std-lib:
http://www.ruby-doc.org/stdlib-1.8.7/libdoc/mailread/rdoc/Mail.html

On Ruby >= 1.9.x it is not.

Any hint on what can one use now to create a mail message from a
(mbox) file, so that one can read the message text into the object and
get the header, body etc ?

Giving a little update to this old gmail importer script:

https://github.com/pedromg/2gmail.rb/blob/master/2gmail.rb#L80

Thanks,
--
@pedro_mg