SOC-3472 | Notification Emails - Fix error when build messageinfo