adding nodemailer
fixing local con str adding global error handler