summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhineng Li <[email protected]>2026-01-09 10:59:17 +0800
committerZhineng Li <[email protected]>2026-01-09 10:59:17 +0800
commit6c190480be3712ad2bca7dc789f56ac8d17f58b9 (patch)
tree292d7c4425f411bd8d62dbbece67ec914f51c18d
parentafcaa7f6aedbfcd01931894e94de4a2069f32883 (diff)
configure mail
-rwxr-xr-x.macos15
1 files changed, 15 insertions, 0 deletions
diff --git a/.macos b/.macos
index 8fc4ffa..3219966 100755
--- a/.macos
+++ b/.macos
@@ -217,6 +217,20 @@ defaults write com.apple.AppStore InAppReviewEnabled -bool FALSE
#########################################################################
+# Mail
+#########################################################################
+
+# Show only 2 lines of message preview
+defaults write com.apple.mail NumberOfSnippetLines -int 2
+
+# Compose messages in plain text
+defaults write com.apple.mail AddLinkPreviews Plain
+
+# Disable link previews
+defaults write com.apple.mail AddLinkPreviews -bool FALSE
+
+
+#########################################################################
# Close affected applications
#########################################################################
@@ -228,6 +242,7 @@ apps=(
"Safari"
"Terminal"
"App Store"
+ "Mail"
"System Settings"
)