fetch user info from ldap
extract 'get_member_groups' function
get emails from a particular group