code: public EmailAlias addEmailAlias(String email, boolean isConfirmed) {
          URL url = EMAIL_ALIASES_URL_TEMPLATE.build(this.getAPI().getBaseURL(), this.getID());
          BoxJSONRequest request = new BoxJSONRequest(this.getAPI(), url, "POST");
  
          JsonObject requestJSON = new JsonObject()
                  .add("email", email);
  
          if (isConfirmed) {
              requestJSON.add("is_confirmed", isConfirmed);
          }
  
          request.setBody(requestJSON.toString());
          BoxJSONResponse response = (BoxJSONResponse) request.send();
          JsonObject responseJSON = JsonObject.readFrom(response.getJSON());
          return new EmailAlias(responseJSON);
      }
docs: Adds a new email alias to this user's account and confirms it without user interaction.
  This functionality is only available for enterprise admins.
  @param email the email address to add as an alias.
  @param isConfirmed whether or not the email alias should be automatically confirmed.
  @return the newly created email alias.