Heat the margarine, add the flour while stirring and add the hot milk in order to make a light béchamel sauce. Remove from heat, add the egg, the feta cheese and the herbs and season with salt and pepper. Finally add the mushrooms with the onions and mix.