Handle incoming mails in ruby on rails

How to Handle incoming mails in ruby on rails?

http://guides.rails.info/action_mailer_basics.html#receiving-emails

Felix