Former consultant Emily Middleton was seconded to the Labour party and has now become a departmental head