`{{messageId}}` here is weird, why not just use `id`, and then you don't need to add it to the template at all?