Implemented email format constraint.