Email notifications are not generated - Email message construction with "mailto:" statementIssue Email templates can be used within email notification configurations to construct the message like it's explained here: https://docs.servicenow.com/csh?topicname=r_ConstructAnEmailMessage.html&version=latest however the email may not be generated at all.CauseThe reason behind this issue can be the way template is declared in the message. The correct way to declare the email template is: ${mailto:email_template_name} when there are spaces between 'mailto' and the ':' like: ${mailto : email_template_name} then platform will try to evaluate this statement as a JavaScript condition expression and during processing of the event this error message will be observed in the application node logs: 2020-04-21 03:06:44 (172) worker.1 worker.1 txid=xxxxxxxxxxxx SEVERE *** ERROR *** For input string: "email_template_name"java.lang.NumberFormatException: For input string: "email_template_name" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:580) at java.lang.Integer.parseInt(Integer.java:615) at com.glide.substitution.FieldSubstitute.replace(FieldSubstitute.java:64) at com.glide.notification.substitution.SubstitutionManager.substituteToken(SubstitutionManager.java:375) at com.glide.notification.substitution.SubstitutionManager.substituteVar(SubstitutionManager.java:213) at com.glide.notification.substitution.SubstitutionManager.substitute(SubstitutionManager.java:156) at com.glide.notification.substitution.SubstitutionManager.substitute(SubstitutionManager.java:129) at com.glide.notification.outbound.EmailFormatter.substitute(EmailFormatter.java:444) at com.glide.notification.outbound.EmailFormatter.substitute(EmailFormatter.java:413) at com.glide.notification.cmn.NotificationDataEvaluator.evalMessage(NotificationDataEvaluator.java:231) at com.glide.notification.cmn.NotificationDataEvaluator.changeDateTimeFormatsAndEvalMessage(NotificationDataEvaluator.java:197) at com.glide.notification.cmn.NotificationDataEvaluator.evaluateNotificationData(NotificationDataEvaluator.java:154) at com.glide.notification.cmn.NotificationDataEvaluator.evaluate(NotificationDataEvaluator.java:74) at com.glide.notification.cmn.NotificationMessage.processTemplate(NotificationMessage.java:78) at com.glide.notification.cmn.NotificationActionHandler.send(NotificationActionHandler.java:96) at com.glide.notification.cmn.NotificationActionHandler.process(NotificationActionHandler.java:72) at com.glide.policy.EventProcessor.processEventDuringNormalOperation(EventProcessor.java:213) at com.glide.policy.EventProcessor.processEvent(EventProcessor.java:138) at com.glide.policy.EventProcessor.process(EventProcessor.java:92) ResolutionIn order to avoid this situation remove the spaces within the curly brackets.