Added simple e-mail validation to client.