Automatic emails

google is your friend:
http://www.google.com/search?q=rails+schedule+task

several options in the first search result:
http://www.igvita.com/blog/2007/03/29/scheduling-tasks-in-ruby-rails/