Vaccination of one person may prevent the infection of another either because the vaccine prevents the first from being infected and from infecting the second, or because, even if the first person is infected, the vaccine may render the infection less infectious. We might refer to the first of these mechanisms as a contagion effect and the second as an infectiousness effect. In the simple setting of a randomized vaccine trial with households of size two, we use counterfactual theory under interference to provide formal definitions of a contagion effect and an unconditional infectiousness effect. Using ideas analogous to mediation analysis, we show that the indirect effect (the effect of one person's vaccine on another's outcome) can be decomposed into a contagion effect and an unconditional infectiousness effect on the risk difference, risk ratio, odds ratio, and vaccine efficacy scales. We provide identification assumptions for such contagion and unconditional infectiousness effects and describe a simple statistical technique to estimate these effects when they are identified. We also give a sensitivity analysis technique to assess how inferences would change under violations of the identification assumptions. The concepts and results of this paper are illustrated with hypothetical vaccine trial data.