Add heartbeat and mail alerts.