Fix parsing of multi-part messages

Previously only the first line of each part of multi-part messages was added to the
content. Now we correctly store entire message body in content. Add Gemfile and update
Rakefile to make debugging easier in future.