added rspec test for mail reader