Simple Monitoring script using Google Apps Script