Panicked Labour bosses issued an emergency appeal to their members after Nigel Farage's party was handed a record windfall.