Gotta start debugging this thing. The email gets sent to the server as undefined.