Script polls inbox every 10 seconds