Centralised template repository that receives json objects, applies a template and sends an email.