Grafana mail alerts when server is in bad state or rebooted

Hi, We are using graph panel plugin to send alert email, when ever the server is rebooted or server is in bad state. By using this panel we are unable to generate the email. Can you please help us.