Lifetime of the autobox, don't know. depends on the previous owner's maintenance and driving style. Some can last more than 300,000km, some a lot less...
The gearbox length would probably be different, whether longer or shorter.. So the propeller shaft oso different lenght.. Then how about the autobox shift lever? Using an E30 lever (from another car) or from the E36? Then the pedals? Not sure if the E36 ones would fit into the E30... Anyway, these are the things u need to find out. And the final drive(rear differential) ratio oso different but probably can still use