converting mailers and bulk_mailers to resque background jobs