looked up real OEM it looks like a
Getrag S6S 420G out of an E46 M3, and a ZF GS6-37BZ from a 2004 and newer 3 liter BMW inline six equipped BMWs should fit I think you'll need front half of the drive-shaft, and shift linkage from the cars where the transmissions came from. I have seen the 6 speed manual transmissions for BMW M5x, S5x, and N5x on EBAY for under a grand ... The drive-shaft will most likely need to be rebuilt, and re-balanced. While under the car I would try to find the larger 6 cylinder LSD to put in the back. If it's done right you should have no issues putting a well built M42/M44 based engine in the car. I wonder what's the HP/Torque limits of a M42/M44 based build? 325hp? That's what Metric Mechanic has advertised on their website.