@bbrock since I know you won't be happy leaving the hole unplugged

M10 x 1.0 is the thread form
Sensor is about 9mm long.
Hole in the head is 15mm deep but you don't want to go to bottom, I doubt the last couple threads are fully formed.
Sensor is steel. No need for Aluminum bolt. Just use a little anti-seize on it and you won't have to worry about corrosion. Aluminum on aluminum threads are prone to galling too so you'd want to use a little anti-seize there too anyway.
Agree with
@Bdstone914 -- plug the tin hole. That is actually the more important part.