How to remove HTML from all messages in Mac Mail?

If you prefer to read your mail messages in plain text with no HTML design, effects and attached images, you can go to Mail: Preferences > the Viewing tab > turn off the Display Remote Images In HTML Messages option.

This will trim the remote images from your messages but will not remove the HTML code or the images inserted in them.

To do this, you should:

  • close Mail;
  • start Terminal;
  • execute the following command in Terminal:

 defaults write com.apple.mail PreferPlainText -bool TRUE

To reverse this and enable HTML in your emails again, simply execute this command in Terminal:

 defaults write com.apple.mail PreferPlainText -bool FALSE