fix mailer encoding and add stop resque task