email worker replaced with rake task