public void removeAllMailToAddresses() {
    mailToSet.clear();
    mailToAddresses = new String[0];
  }
remove all the registered email ids from ToList
geode-core/src/main/java/org/apache/geode/admin/jmx/internal/MailManager.java