Use appointment status as a filter when creating patient groups for mass emails