Certainly earths via the thread. They also should be a tapered thread so no need for plumbers tape for sealing purposes.
I assume you have the VDO can type of sender to suit a needle gauge?