integrated ldap and email sending tasks.

integrated ldap and email sending tasks. Updated test for sending email while registering user.
Merge pull request #19 from mekanizumutc/master

integrated ldap and email sending tasks.