Controlling a relay with a transistor switch

A well designed mains-relay shield will keep all the relay contacts well separated from the relay coil connections (about a cm is good), preferably with a plastic sheet on the underside to protect the traces from touching anything accidentally.

And of course the relays must be mains-rated.