docs: public boolean isEmailAvailable() throws SmackException, InterruptedException {
          ServiceDiscoveryManager discoManager = ServiceDiscoveryManager.getInstanceFor(connection);
  
          try {
              DomainBareJid workgroupService = workgroupJID.asDomainBareJid();
              DiscoverInfo infoResult = discoManager.discoverInfo(workgroupService);
              return infoResult.containsFeature("jive:email:provider");
          }
          catch (XMPPException e) {
              return false;
          }
      }