Make sure email has valid format.