Replaced custom error email logging with MailTargent in NLog