added cap on the system recursive function to 500 email updates.