Stochastic epidemic models with random environment: quasi-stationarity, extinction and final size