working on mail module #79
better js handling
added email popup #79

waiting on smtp server info to test email function.
Merge branch 'issue79'