format
adding a get ldap from yaml file
change print to logging
chnage e-mail to email