Electronically controlled AC switch

You can also build your own isolated solution using an SSR (solid state relay).
http://www.mpja.com/20A-240VAC-SSR-38-28VDC-CONTROL/productinfo/17569+RL/

There is not much you have to do yourself with one of these... (apart from working safely with mains voltage)