gets all the contents in a mail