Read email in ruby

Considering this is a rails ML, I suppose you meant rails, not ruby. If so, have a look at the guides for rails http://guides.rubyonrails.org/action_mailer_basics.html#receiving-emails , else consider using actionmailer and go back to step 1...

Regards,

Felix