Fix devise mailer to work with resque