RT# 38217 Fix substitutions for System Log email template