in reply to New Email Notification

When I first run the script, it performs perfectly for about a day, but then gets more and more intermittant in its notification deliveries. Eventually, I won't receive a message from it for days, in spite of receiving dozens of emails. Any ideas?

You might be getting throttled or dropped on the paging side. I've found that sending myself pages via email has a ~70% success rate (using AT&T).

Instrument your code to log email sends (with timestamps). Without a record of when your script thinks it is sending email, diagnosing this is going to be difficult.