mail notification - fixed json file and smtpclient

google mail and guh mails works now perfectly
tiny nitpick: we usually use spaces here... like

} else[ if(...)] {
instead of 
}else[if(...)]{