As you will have wires moving again and again etc and close proximity to touchy parts. I recommend you use a GFI with it, to ensure safety. And use a resistor between the machine and line side and ground, to ensure you don’t dump huge amps through the connection. The GFI should trip around 0.01 amps of current so you don’t need to much less than a 22k resistor.
Lastly you will likely want to use dual SSR or an SSR that will handle both sides of your mains since each side is high relative to neutral and ground. It will make sure power is completely free.
Devices like your main AC usually use an electromechanical contactor aka relay to make and break this power connections.