Everyone knows this moment: you are certain the invoice exists. It arrived sometime in spring, as a PDF attachment. But Apple Mail's search finds — nothing. You type the amount: nothing. The sender: three hits, none of them the right message. In the end you scroll through months of mail by hand, opening attachment after attachment.
That's not you using search wrong. It's a real gap: Apple Mail doesn't search attachments. This article explains what Mail's search actually covers, why Spotlight isn't a reliable fix either — and how to bring subjects, message text and attachments (including scanned PDFs) into one single search, without your email ever leaving your Mac.
What Apple Mail's search actually finds — and what it doesn't
The built-in search in Apple Mail is good at finding messages: it covers subject, sender, recipients and the text of the message itself. Search operators like "From:" or "Subject:" narrow it down further, and for many everyday cases that's plenty.
The blind spot starts at the paperclip. The contents of attachments are not searched. The invoice number in the PDF, the IBAN in the draft contract, the amount in the attached statement — as far as Mail's search is concerned, none of it exists. You can filter for messages with attachments, but not for what's inside them.
Does Spotlight help? Only partially
The second reflex is Spotlight. The result is mixed here too: Spotlight indexes the messages themselves (subject and body text), but attachment contents are covered incompletely or not at all, depending on format and where they're stored. It's not something you can rely on — and for a whole category of documents it fails outright:
Scanned PDFs are just images to your Mac. The scanned receipt, the photographed contract, the document from your scanner app — none of them have a text layer. Without text recognition (OCR), no search on earth can find their contents, whether in Mail, Spotlight or Finder. And precisely these documents tend to arrive as email attachments.
The manual route (and why it doesn't scale)
There are workarounds with built-in tools, of course. You can save attachments to a folder in bulk and search that folder with Spotlight. You can open individual scans in Preview and even copy text out of them thanks to Live Text. Both work — for a handful of files.
As a system, it falls apart: saving attachments is manual work that starts over with every new email. Scanned PDFs stay invisible even inside the folder unless someone runs OCR on them. And the link back to the original message — who sent this, and when? — is lost in the export.
One search for mailbox and folders: PDF Content Search
This is exactly the gap PDF Content Search closes: a full-text search for the Mac that covers folders and Apple Mail — attachments included. Once enabled, subjects, message text and attachment contents become searchable; scanned PDFs and images go through text recognition (OCR) that runs right on your Mac.
Here's how to set up mail search:
- Install PDF Content Search — the app is on the Mac App Store.
- Choose "Enable Apple Mail". At this point the app is transparent about what it accesses: the local Mail database on your Mac.
- Grant access — a one-time approval of the
~/Library/Mailfolder. - Let it index. Depending on mailbox size, the first pass takes minutes to hours; new mail is picked up automatically afterwards.
- Search. Amount, IBAN, contract number, keyword — the results list shows messages and documents together. Attachments open directly, and any found message jumps to Apple Mail or reveals in Finder with a keystroke.
On top of that you get the same search tools the app offers for folder documents: a date-range filter ("only mail from January to March"), fuzzy search that forgives typos and special characters, and partial-word matching.
What about privacy?
Email is among the most private data on any computer — so the rules here are strict: OCR and the search index run entirely on your Mac. The app reads the local Mail database, nothing is uploaded, and no account is required.
There is one deliberate, optional exception: for Office attachments (Word, Excel, Pages, Numbers …) the app offers conversion via our own DocPort service. If you leave it off, everything stays fully local — PDFs, scans, images and text files are never affected by it either way.
Frequently asked questions
Can Apple Mail search the contents of attachments?
No. Apple Mail's search covers subjects, senders and message text — the contents of attachments are not searched. An invoice sitting in a PDF attachment stays invisible to Mail's search.
Does Spotlight find the contents of mail attachments?
Not reliably. Spotlight indexes the messages themselves (subject and body), but attachment contents are covered incompletely or not at all, depending on format and storage location. Scanned PDFs without a text layer remain fundamentally invisible because they are just images to your Mac.
How do I search scanned PDF attachments in my email?
Scanned PDFs need text recognition (OCR). PDF Content Search recognizes the text in scanned attachments via OCR right on your Mac and makes it searchable — together with subjects, message text and regular PDF attachments.
Does my email stay private?
Yes. PDF Content Search reads the local Apple Mail database on your Mac; OCR and the search index run entirely on-device. Only for Office attachments there is an optional conversion via our own DocPort service — it can be left off and never affects PDFs or images.
Which mail accounts does this work with?
Everything Apple Mail has stored locally — iCloud, IMAP or Exchange accounts, as long as the messages are available locally, plus local mailboxes. What gets searched is the Mail database under ~/Library/Mail.
Conclusion
The fact that Mail's search can't read attachments is one of the quietest productivity drains on the Mac — especially if invoices, contracts and receipts reach you by email. The built-in workarounds help in spots but don't scale, and they fail completely on scanned documents. A local full-text search with OCR closes exactly this gap: one search box for folders and mailbox, with hits deep inside attachments — while your email stays on your Mac.