<AB>The electrical machine has a transmitter (8) on one end face of the machine housing. The transmitter device has a rotating transmitter (11) which is coupled by its shaft (9) to the rotor shaft (4) of the machine. The shaft of the transmitter is made of magnetic material. The shaft of the transmitter is coupled to the rotor shaft by a connecting element of a magnetic material. A shield disk (14) is between the front side of the housing of the transmitter and the facing end region of the machine housing (6).