POP3 and Ruby on Rails

I'm new to Ruby on Rails. Is there a way for it to talk to a POP3
mailbox? I'd like to write something that connects to a server, checks
the size of mail in the inbox, and either deletes or sends an e-mail to
an administrator reporting the space used.

Any info would be great!!

I do know how to do this in PHP, but my shared host doesn't have IMAP
enabled.

http://www.ruby-doc.org/stdlib/libdoc/net/pop/rdoc/classes/Net/POP3.html

Took all of 10 seconds searching google. “ruby pop3”

You do understand Rails is a framework built on Ruby, right?