Write a ruby script that calls a URL that returns all the birthdays
each user has saved. Then check if any are soon and call a url on your
site that sends email with the user and birthday parameters. You would
run this script as a daily cron job.
Does that get you started?