Notification API example, template security