1. How long have you been facing this issue?
2. Did you make any recent hardware or software changes on your computer prior to this issue?
3. Are you able to play any other mp3 files using windows media player?
4. “when trying to play email attachments” what type of files are they?
Step 1: You may first have a look at the below article and check if this helps you.