How to fix email notifications failing due to incorrect mailto syntaxIssue <!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } When using email templates in notification configurations, your emails may fail to generate if the template syntax contains errors. This article explains how to resolve issues with the mailto statement syntax that prevents email notifications from being sent. Release<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } All supported releases Cause<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } This problem occurs when you include spaces between the words mailto and the colon symbol (:) in the template declaration. The correct syntax is: ${mailto:email_template_name} If you include spaces, such as: ${mailto : email_template_name} The platform interprets this statement as a JavaScript condition expression instead of a template reference. During event processing, you'll see this error 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) Resolution<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } To fix this issue: Check your email notification configuration for any template references.Ensure there are no spaces between 'mailto' and the colon in the syntax.Use the correct format: ${mailto:email_template_name} without any spaces. Related Links<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } Construct an email message with a template