Added server-side email validation