[SCRIPT] To notify and delete expired accounts

Implements #1982