You'll need to redo your wiring diagram to suit.

You'd need to know the technical details for the temp sensor, but it looks like yours doesn't have one.

The thermal switch can either be wired into the E-stop system, or to an input that triggers a stop. The main thing is that the spindle gets stopped once it triggers.
The polarity of the 240VAC fan doesn't matter, and PE means Protective Earth.