Aluminum is easy to drill and tap. My B&M temperature Guage sender mounts in transmission line. In the plastic bag there are t fittings with an adapter that the sender screws into if you don’t have threads In the pan.
Hmm, well that is an option (in line tee), some say the hot side (to cooler) is better since it shows the actual max temperature.