E36 IAC?

I know its not a common problem but with the state he got the car in catalyst materials inside the converter could have been damaged. If all other options are exhausted pulling the upstream O2 and checking backpressure might not be a bad idea