code style
fixing typos and added documentation
move style and script to templates + documentation added
the app is calls 'Mail'
on google mail check: return true for google and gmail hostnames
codingguidelines cleanup and little fixes