So the plumber actually plugged the boiler into a socket/plug.
is that just him being lazy or is there a reason why he did it this way as opposed to using a junction box?
Because he's a plumber and not an electrician? Do you have heating controls? Or do you just turn the boiler on and off to control your heating?