docs: public void setToAddresses(java.util.Collection<String> toAddresses) {
          if (toAddresses == null) {
              this.toAddresses = null;
              return;
          }
  
          this.toAddresses = new java.util.ArrayList<String>(toAddresses);
      }