Equipping AI with emotional intelligence can improve outcomes