added sendEmailAfter and filter name