Skip to content
86% off$349 $48.86code BF2026

Guides

Apple Mail Can't Find Old Emails in Gmail: What Works

Apple Mail search can't find old Gmail messages? Find the one you need through Gmail on the web, fix Mail's local copy, or search old mail with Mailloft.

GuideUpdated 7 min read

On this page

You search Apple Mail for something from a few years ago and get nothing. Or you have to log in to webmail for anything older than a few months, or you end up having to "go search for an email from 4 years ago" somewhere else. People on community forums describe the same pattern across several Gmail accounts. This guide covers why it happens, how to find the message today, and what to change so it stops.

Why Apple Mail can't find old Gmail messages

Gmail talks to Mail over IMAP. Mail keeps a local copy of what it has downloaded and builds its search index from that copy. Several things can leave a gap:

  • Search scope is one mailbox. Searching from inside Inbox never looks at archived mail. Gmail archives go to All Mail, not the Inbox.
  • The local copy has gaps. Messages may never have downloaded, or the index may be out of step with the mailbox. Apple's own Mail guide says rebuilding is for cases like messages appearing to be missing, or not finding all relevant messages with the Entire Message search option.
  • Gmail limits what IMAP shows. Gmail has a setting that caps the number of messages a folder exposes to mail apps. If it's set, nothing past the cap reaches any IMAP app.
  • The message is in Spam or Trash. Gmail's web search skips those by default.

We don't know which of these hit any one person. The steps below go from cheapest to most disruptive, so you rarely need all of them.

Find the message right now in Gmail on the web

If you need one email today, skip the Mac index. Sign in to Gmail in a browser and search there. Gmail's help documents in:anywhere as a search across Gmail that includes Spam and Trash, and after: / before: for date ranges.

  1. Open Gmail in a browser and click the search box.
  2. Type in:anywhere followed by what you remember, for example in:anywhere from:amazon has:attachment.
  3. Add a date range if there are too many hits: after:2021/01/01 before:2022/01/01.
  4. Open the message there, or forward it to yourself.

Gmail's help also describes older_than: and newer_than: with d, m or y, such as older_than:1y. The full list is in Google's Refine searches in Gmail page.

Fix Apple Mail's search step by step

1. Search all mailboxes

  1. Click the search field in Mail and type your terms.
  2. In the bar that appears under the toolbar, choose All Mailboxes instead of the current mailbox.
  3. If you're hunting for body text, make sure the search is set to match the entire message, not only sender or subject.

2. Rebuild the Gmail mailbox

Apple's support page explains what a rebuild does for IMAP accounts: messages and attachments stored on your Mac are discarded and then downloaded again from the mail server, and the mailbox appears empty until the download finishes. The copy on Google's servers isn't touched.

  1. In Mail's sidebar, select the Gmail mailbox that should hold the message, usually All Mail.
  2. Choose Mailbox > Rebuild in the menu bar.
  3. Wait until the mailbox refills. A large All Mail folder can take a long time.
  4. Search again.

Apple documents the steps in Rebuild mailboxes in Mail on Mac.

3. Check Gmail's IMAP folder limit

  1. In Gmail on the web, open Settings, then See all settings.
  2. Open the Forwarding and POP/IMAP tab.
  3. Under folder size limits, choose the option that doesn't limit the number of messages in an IMAP folder, then save.
  4. Back in Mail, rebuild the mailbox again so it can pull the rest.

4. Look in Spam and Trash

Gmail's Search in Gmail help describes searching Spam and Trash by choosing the Mail & Spam & Trash option in the search options dropdown. Typing in:anywhere does the same thing in one step.

Cause, symptom and fix at a glance

CauseWhat you seeFix
Searching one folderArchived mail missingChoose All Mailboxes
Gaps in the local copyOld messages missing or search partialMailbox > Rebuild
Gmail IMAP folder limitNothing past a certain ageRemove the limit in Gmail settings, then rebuild
Message in Spam or TrashFound on the web only with in:anywhereSearch with in:anywhere
Search broken for every accountNo results anywhereSee Apple Mail search not working

If you often need old mail from Gmail or other IMAP accounts, a client that also asks the server can cover gaps in the local copy. We make Mailloft, so weigh this accordingly. It helps with one part of the problem and has limits, listed below.

A search in Mailloft runs in two passes:

  1. Local first. It searches a full-text index on your Mac across every account at once: sender, recipients, subject, preview, attachment names and the body of messages you've opened. Results are newest first, up to 1,000 local hits.
  2. Server about half a second later. It then searches each account's server. Those results appear under From Your Servers while "Searching servers…" shows.

For the server pass, Mailloft searches the folder you name with in:. Otherwise it uses All Mail, and if there is none, INBOX, Archive, Sent and the current folder. That's at most 4 folders per account and up to 50 hits per folder.

Use it with Gmail

Mailloft connects over IMAP and SMTP. Gmail needs a 16-letter app password, because there's no "Sign in with Google" option, and Google requires 2-Step Verification before you can create one. Steps are in Add an email account to Mailloft and Create an app password for Gmail, iCloud, Fastmail or Yahoo.

To search, click the toolbar Search field, press ⌥⌘F (Option-Command-F), or press /. Words match as prefixes, so invo finds "invoice".

OperatorExample
from:from:amazon
subject:subject:contract
has:attachmenthas:attachment
is:unread, is:read, is:flagged, is:answeredis:flagged
before: / after:before:2022, after:2021-06, before:2022-03-15
in: (a mailbox or folder name)in:sent
account:limits to one account
"phrase" and -word"order confirmation" -newsletter

Operators become tokens after you type a space. An old receipt search might look like from:apple has:attachment before:2023. Mailloft's date format differs from Gmail's web format: use 2022-03-15, not 2022/03/15.

What Mailloft can't do here

  • Only the newest 200 messages per mailbox sync. Older mail arrives when you scroll to the end of a list (pages of 300) or through server search.
  • Bodies are indexed once opened. Local search won't match words inside a message you've never opened. Subject, sender and attachment names still match.
  • Server search is capped at 4 folders per account and 50 hits per folder, and it needs an internet connection.
  • CJK words only match from their start, and search ignores snoozes.
  • Not yet validated on live servers. As of November 2026, its protocol tests run against scripted server transcripts, so Gmail-specific quirks may turn up.

Outlook and Microsoft 365 accounts sign in differently; see Outlook, Hotmail and Microsoft 365 accounts in Mailloft. The full operator list is in Search mail and use search operators. Mailloft is part of MacSuite and runs free for 7 days; the Mailloft page has details.

Checklist before you try again

  • You searched All Mailboxes, not one folder.
  • You tried the message in Gmail on the web with in:anywhere.
  • Gmail's IMAP folder limit isn't set.
  • The Gmail mailbox finished redownloading after a rebuild.
  • Your Mac is online while a server search runs.

If nothing works

If the message is missing on Gmail's web too, it was probably deleted. Gmail's Gmail messages are missing help suggests reviewing filters that skip the Inbox or delete mail. If it exists on the web but not in Mail after a rebuild, contact Apple Support and include the Mail version, macOS version and what you tried. For Mailloft, use our support page.

text
Subject: Old Gmail messages missing from search

Mac app: Mail / Mailloft (version: ___), macOS ___
Account: Gmail over IMAP
Problem: A message from about ___ (sender: ___) shows in Gmail on the web
with "in:anywhere" but never appears in app search.
Already tried: All Mailboxes scope, Mailbox > Rebuild, IMAP folder limit check.
Search text used: ___

Common questions

Is my old mail gone if Apple Mail can't find it?

Usually not. With Gmail over IMAP the messages stay on Google's servers unless deleted. Check with in:anywhere on the web.

Does rebuilding delete anything on Google's side?

No. Apple's page says the local copy is discarded and downloaded again from the server.

Will Mailloft download my whole Gmail archive?

No. It syncs the newest 200 messages per mailbox and pulls older mail when you scroll or run a server search.

Why does Mailloft search folders I didn't pick?

Without in:, it uses All Mail, or INBOX, Archive, Sent and the current folder if there is no All Mail, capped at 4 folders per account.

Every app.
One purchase.