When will we be able to use template variables in alert queries and alert definitions?

One of the huge plusses of Grafana is its ability to use templating. But I’m scratching my head wondering why its use is limited when it comes to alerts. Namely:

  1. You can’t use template variables in a query that has an alert assigned to the panel.
  2. You can’t use template variables within any part of the alert definition itself. For example, it would be nice to create boiler-plated alert messages by munging template variable within the message. For example: “An error has occurred in the ${dev} environment”.

To me this is an extreme limitation and causes a lot of extra work. Are there any plans on allowing template variables with alerts?