What about replacing this with:

```ruby
[first_name, last_name].compact.join(' ').presence || email
```