How Are You Using to Seal Threads of Water/Oil Gauge Sensors?

I imagine the sensors for electric gauges seek a ground through the same threads used to attach the to the block or manifold. I wonder if the Permatex #2 I use is inhibiting the ground path? What are you using the guarantee a leak free but satisfactorily functioning sensor? Thank you.