A simple python script to query LDAP server for fetching and parsing emails.