code: public String getAccountEmail() {
      if (emails != null) {
        for (final Entry<String, String> entry : emails.entrySet()) {
          if (entry.getValue().equals("account")) {
            return entry.getKey();
          }
        }
      }
      return null;
    }
docs: Return the account email.
  
  @return Null if no account email found, otherwise a single String.