added code to do email client stuff
add mail library to repo