An electromagnet for an electric machine having a stack of laminations defining a tooth and a yoke segment, and an insulating bobbin surrounding a portion of the tooth of each lamination, such that each lamination is held against adjacent laminations by the bobbin. The disclosed electromagnets also have electrically conductive windings surrounding a portion of the bobbin; and an encapsulant fully encapsulating the bobbin and windings, wherein the encapsulant comprises a dielectric material and an additive to increase the thermal conductivity of the encapsulant.