Helpful Mac Tips:

1. Turn On / Off automatic attachment preview in Mail

defaults write com.apple.mail DisableInlineAttachmentViewing -bool yes
Quit Mail and relaunch it. When you view a message, all attachments will be shown as icons only. To restore the original functionality, run this command:
defaults write com.apple.mail DisableInlineAttachmentViewing -bool no

2.