[% IF msg %]

Notification failed: [% msg %]

[% ELSE %]

Thanks. Notification sent.

[% END %]