Wires server side email sending into button and removes old code. bjmcmorran