change to use rails 3 mailer