added smtp configuration to settings and made notification support TLS through SMTP