Email notification when backup unsuccessful for X days?

Let's say that a machine backs up every 2 hours.

If a single backup attempt fails, I don't want an email notification about it.  However, if there are no successful backups for 3 straight days, I want an email notification.

Is there a way to accomplish this?