added apache commons dependency for sending emails
fixed link
ignore
update mail conf
authentication and code clean up
conf