title: Using DirectoryServices.AccountManagement, how do I get the e-mail address of an active directory security group?
body: <p>I have a security group (pictured below) in active directory that has an e-mail address associated with it.  How do I get the e-mail address of the group?  The <code>GroupPrincipal</code> object does not have any e-mail address properties on it.</p>
  
  <p>This is how I am retrieving all the groups:</p>
  
  <pre><code>using (PrincipalContext context = new PrincipalContext(DirectoryContextType, Domain)) {
      using (var groupSearcher = new GroupPrincipal(context)) {
          using (var searcher = new PrincipalSearcher(groupSearcher)) {
              foreach (GroupPrincipal group in searcher.FindAll()) {
                  //How do I get the e-mail address?
              }
          }
      }
  }
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/HWvRw.jpg" alt="Security Group"></p>