We present a high-order numerical study of the dependence of the dynamo onset on different electromagnetic boundary conditions, in convecting Boussinesq flows forced by a temperature gradient. Perfectly conducting boundaries, vacuum, and mixed electromagnetic boundary conditions are considered, using a method that treats fields and boundary conditions with close to spectral accuracy. Having one or two conducting boundaries greatly facilitates dynamo action. For the mixed case it is shown that the critical magnetic Reynolds number becomes independent of the Rayleigh number, Ra, for sufficiently large Ra.