Email alerts

You can use `eval(alert.condition, {"doc", doc})` for safer evaluation