Even after enlarging the image I am unsure.
Is that threaded into a bung?
Looks like a bung was welded into the case and the tab is attached to a hex nut so is removable.
I wonder if it might be a temperature sender?
I think your best bet for identification is to remove it and identify what sort of switch it is.