docs: private TenantOperationResponse prepareResponse(final ITenant tenant) {
          try {
              sendResetPasswordEmail(tenant);
          } catch (Exception e) {
              log.error(
                      "Failed to send tenant admin email to address {} for tenant {}",
                      tenant.getAttribute(ADMIN_CONTACT_EMAIL),
                      tenant.getName(),
                      e);
              final TenantOperationResponse error =
                      new TenantOperationResponse(
                              this, TenantOperationResponse.Result.FAIL); // Just a warning
              error.addMessage(
                      createLocalizedMessage(
                              UNABLE_TO_SEND_TENANT_ADMIN_EMAIL,
                              new String[] {tenant.getAttribute(ADMIN_CONTACT_EMAIL)}));
              return error;
          }
          final TenantOperationResponse rslt =
                  new TenantOperationResponse(this, TenantOperationResponse.Result.SUCCESS);
          rslt.addMessage(
                  createLocalizedMessage(
                          TENANT_ADMIN_EMAIL_SENT,
                          new String[] {tenant.getAttribute(ADMIN_CONTACT_EMAIL)}));
          return rslt;
      }