Coolest Guides on the Planet

coolest guides on the planet

Coolest Guides On The Planet

  • Home
  • macOS
  • WebDev
  • All Posts
  • Contact

Getting Better Search Results in Mac Mail from Spotlight OSX 10.9 Mavericks

February 25, 2014 Leave a Comment

Since OSX 10.9 release there have been 3 updates to improve Mac Mail, the first update dealt with Gmail accounts and Mail stability, the OSX 10.9.1 update addressed a couple of issues with their Mail app including improvements to Gmail Accounts, Smart MailBoxes, Contact Groups and Search.

The third update OSX 10.9.2 further addresses Mail App stability including unread Mail counts, receiving email from certain vendors and VoiceOver navigation.

Make sure you are up to date via Apple Menu > Software Update

One of the issues I have come across is Mails poor search functionality, sometimes searching for Mail doesn’t show accurate results, can’t find what you are looking for or the email appears corrupt.

Rebuilding the MailBox Cache

One way to address the missing or corrupt emails is to rebuild the Mailbox cache which lives in ~/Library/Mail/V2/ , this will only work with IMAP and Exchange accounts as their data is stored on a server, what happens is the local account has its content removed and the email and attachments are re-downloaded from the server.

mail-osx-rebuild-account

Select Mailbox to Rebuild

 

mail-osx-rebuild

Choose Rebuild from the Mailbox Menu

 

mail-osx-rebuilding activity

See the progress from the Window Menu > Activity

Improving the Search Function in Mail

Mails indexes are held in Spotlight which you use to search mail, you can force a re-index to further improve the results after the mailbox caches are rebuilt, launch Terminal from Applications/Utilities and run:

sudo mdutil -E /

The output from the Terminal after a while will return:

[/]: sudo mdutil -E /
Password:
/:
Indexing enabled.

This command will remove the Spotlight database at the root of the start up Hard Drive and re-index the drive including the Mac Mail caches – theoretically improving your search results!

If you now check under the Spotlight Icon, you can see that indexing the drive has started, but don’t wait around for it.

mail-osx-rebuild-spotlight

Re-Indexing in Progress…

 

mail-osx-rebuild-spotlight-time

Time for a sleep

Cats: macOS

Tags

3gs 10.6 apache backup baseband boot clean urls cpanel css curl custom database drupal el capitan git Google image instadmg ios iphone jailbreak keys lion mac macos mojave macos sierra menu mysql OSX panda php phpmyadmin private public redirect redsn0w remote rsa SEO shell ssh terminal unstoppables upgrade urls

Donate a Beer to the Coolest Guides

Get Beaver Builder Now!

Discuss

3gs 10.6 apache backup baseband boot clean urls cpanel css curl custom database drupal el capitan git Google image instadmg ios iphone jailbreak keys lion mac macos mojave macos sierra menu mysql OSX panda php phpmyadmin private public redirect redsn0w remote rsa SEO shell ssh terminal unstoppables upgrade urls
Get DesktopServer

Lynda

Lynda.com Online Training Videos

TreeHouse

smlinks

Learn WordPress
osx-modify-shell-path

How to Add to the Shell Path in macOS Big Sur and Catalina using Terminal

October 19, 2019

virtual-hosts osx 10.10 yosemite

Set up Virtual Hosts on macOS Catalina 10.15 in Apache

October 19, 2019

Installing Homebrew on macOS Catalina 10.15, Package Manager for Linux Apps

October 18, 2019

Where is the bash shell in macos Catalina?

October 12, 2019

Refine your search

  • All
  • Modules
  • Themes
  • Documentation
  • Forums & Issues
  • Groups

RSS ars technica

  • Apple releases new beta builds of all its flashy new Liquid Glass-ified OS updates
  • Mocked Trump Mobile yanks coverage map that ignored Trump renaming Gulf of Mexico
  • Apple’s Craig Federighi on the long road to the iPad’s Mac-like multitasking
  • New Apple study challenges whether AI models truly “reason” through problems
  • Apple details the end of Intel Mac support and a phaseout for Rosetta 2

RSS mac surfer

Donate

Copyright © 2025· Neil Gee - All Rights Reserved - Hosted by Runcloud

Copyright © 2025 · gee on Genesis Framework · WordPress · Log in