5 Apple Mail Hacks And Tricks 3


5 Apple Mail Hacks And Tricks


Today’s post is going to show you a couple of hacks, tricks and tips for Apple Mail. By the end of this post you should be able to enable some hidden settings on your Mac. This post is very similar to the popular post of Finder hacks I posted a couple of weeks ago. All of these tricks will use Terminal. Open up the app within Applications > Utilities. Simply type each command into the window and hit enter. After every command if you want to see the effects, close and re-open Mail. If you have any hints, tips or tricks, please leave a comment.

Disable Inline Attachment Preview

When an email has an attachment, to will automatically display the attachment in the mail message. This is useful the majority of times, however if you want to remove this functionality so you have to click on the attachment instead of it being automatically displayed use this little terminal hack.

defaults write com.apple.mail DisableInlineAttachmentViewing -boolean true

Email attachements will now not be displayed. If you want to revert this command simply replace true, with false.

defaults write com.apple.mail DisableInlineAttachmentViewing -boolean false

Restart Mail for the change to take effect.

Always Open HTML Emails in Plain Text

One of the fancy new ways to send emails is using HTML. This basically means you are opening a mini web page when you open the email. If you want to disable this feature use the following command. It will force all emails to be opened in plain text, which means it will strip images, graphics and other features from the email and only display the text.

defaults write com.apple.mail PreferPlainText -boolean true

If you want to revert this functionality, simply use the following command.

defaults write com.apple.mail PreferPlainText-boolean false

Set The Minimum Font Size For HTML Emails

If you still want to have HTML emails and have not disabled them with the previous command you can set the minimum size for the test. Some emails come in with really tiny text, you can set a minimum size for the text with this command.

defaults write com.apple.mail MinimumHTMLFontSize 12

Note that this may break some HTML emails, if they depend on the size of text to control the layout.

To remove the command use the following, or you can set the size to 0.

defaults delete com.apple.mail MinimumHTMLFontSize

Only Copy The Email Address

When you copy an email address from an email (usually from the email header) it will copy across the name in the format James<james@mactricksandtips.com>, this is really annoying most of the time as you really only want to email address and not the name. To disable this feature simply type the following into Terminal to turn this feature off.

defaults write com.apple.mail AddressesIncludeNameOnPasteboard-boolean false

It will now only copy the email address and not the name. To revert this feature simply type the following.

defaults write com.apple.mail AddressesIncludeNameOnPasteboard-boolean true

Automatically Bcc or Cc Every Email

If you want to set up Mail to automatically Bcc or Cc someone you can use this really cool command. This means every email you send will automatically be Cc’d or Bcc’d to someone else. Note that this tip will mean the address is not always visible in the new mail window, and it will always replace what is placed in the Bcc and Cc address window. So it has limited functionality.

If you want to automatically Bcc some one use the following:

defaults write com.apple.mail UserHeaders '{"Bcc" = "person@example.com";}'

If you want to automatically Cc someone:

defaults write com.apple.mail UserHeaders '{"Cc" = "example@example.com"; }'

and if you want to perform both actions.

defaults write com.apple.mail UserHeaders '{"Bcc" = "person@example.com";"Cc" = "example@example.com"; }'

If you want to view what you have set up you can use the following command:

defaults read com.apple.mail UserHeaders

To delete the path simply type the following.

defaults delete com.apple.mail UserHeaders

Use this command with caution, as it will overwrite what you place in the Bcc and Cc fields. This command can probably be used to alter the ‘To’ and ‘Subject’ fields by replacing BCC with ‘Subject’ although I have not tested this functionality.


If you have any more useful mail, tips and tricks, please leave a comment.

If you want to keep up with the latests post from Mac Tricks And Tips I recommend you subscribe to the RSS Feed.

Where To Next?

  • Subscribe To Mac Tricks And Tips