Hi there,
I'm not sure how a device would alert you it had been offline for a few days if it is in fact offline.
If you are talking about an interface being down, or a IGP/EGP peer being down, then you can use EEM scripts with timers which would countdown before alerting.
cheers,
Seb.