Conditional checks for phone and email