This could be reduced to ```elsif @user.email``` since ```nil``` is false-y and you're already tested for ```@user```