email_scheduling  query changed