updated email rake task