A model of electron transport through a boson cavity