email is sent using a background task with Resque