better email alerts

* refactor alerting code
* make EmailOutput plugin instead of just executing a command
* submit html emails with a graph of the monitored metrics
* fix: ignore disabled rules