Guide

How to find an old email attachment

You know someone sent the signed lease. You think it was spring. The subject line was probably "Re: Re: quick question." Here's how to find it in under a minute.

By the Synced team · Updated

In short

To find an old email attachment in Gmail, search with has:attachment plus whatever you remember, such as from:dana filename:pdf before:2026/06/01, and add in:anywhere to include Spam and Trash. In Outlook, type a keyword in the search box and choose the Files filter, or use Advanced Search and check Attachments; in classic Outlook, type hasattachments:yes. If the file still doesn't appear, it may have been sent as a Google Drive or OneDrive link instead of an attachment.

Start with what you remember

Attachment searches work best when you combine a few facts rather than guessing the exact filename. Before typing anything, jot down whatever you know: who sent it, roughly when, what kind of file, and any word likely to be in the subject or filename.

You rememberGmail operatorOutlook
Who sent itfrom:dana@example.com or from:danaType the name in search, or use From in Advanced Search
It was a filehas:attachmentFiles filter (new Outlook, web) or hasattachments:yes (classic)
The file typefilename:pdf, filename:xlsxAdd the extension as a search word
Part of the filenamefilename:leaseSearch the word, then filter to Files
Roughly whenafter:2026/03/01 before:2026/06/01 or older_than:6mDate range in Advanced Search
It was biglarger:5MSort a folder by size, where your version offers it
A Google Doc, Sheet, or Slides linkhas:document, has:spreadsheet, has:presentation, or has:driveSearch the file name or the word "shared"

How to find an attachment in Gmail

  1. 1
    Search with two or three operators

    In the search box, combine operators with spaces: from:dana has:attachment filename:pdf. Each one narrows the results.

  2. 2
    Add a date range if the list is long

    after: and before: take dates in YYYY/MM/DD format. older_than: and newer_than: take d, m, or y, like older_than:1y.

  3. 3
    Use alternatives when you're unsure

    filename:{pdf docx} matches either type. from:{dana priya} matches either sender.

  4. 4
    Widen to Spam and Trash

    Add in:anywhere to include Spam and Trash. Deleted messages stay in Trash for 30 days before Gmail removes them permanently.

  5. 5
    Use the search options panel if you'd rather not type operators

    Click Show search options in the search box and fill in fields like From and Subject instead. The same panel is where filters start.

One Gmail detail catches people out: files over the 25 MB attachment limit on personal accounts are automatically replaced with a Google Drive link. Those emails may not match has:attachment. Try has:drive instead, or search Google Drive directly under Shared with me.

How to find an attachment in Outlook

New Outlook for Windows and Outlook on the web

  1. 1
    Search a keyword

    Click the search box and type the sender, a subject word, or part of the filename.

  2. 2
    Filter to files

    Select Files in the search results to show only messages with attachments.

  3. 3
    Or use Advanced Search

    Open the search filters and check Attachments, then add From, date range, or keywords. Outlook on the web also accepts HasAttachment:yes typed into the search box.

  4. 4
    Browse all messages with files

    Without searching, use Sort, then Has files, to group messages that carry attachments.

Classic Outlook for Windows

  1. 1
    Type the search keyword

    In the search box above the message list, type hasattachments:yes and press Enter. Add other words, like lease hasattachments:yes, to narrow it.

  2. 2
    Or use the ribbon

    Click in the search box to open the Search tab, then select Has Attachments in the Refine group.

  3. 3
    Widen the scope

    Search looks in the current folder or mailbox by default. If nothing turns up, widen the scope in the Search tab to all mailboxes or all Outlook items.

Outlook on the web shows only the first 1,000 search results, so on a busy mailbox, add a sender or date before scrolling.

When the attachment still won't show up

  • It was a link, not a file. Search your cloud storage (Google Drive, OneDrive, Dropbox) for the name, or search email for the word "shared".
  • It came through a different channel. Check Slack, Teams, or WhatsApp if the sender uses them. People often say "I emailed it" about something they sent in chat.
  • It was sent to a different address. Check your other accounts, or a shared inbox you're on.
  • The mail was deleted more than 30 days ago in Gmail, or purged by a retention policy at work. Ask the sender to resend, or ask your admin whether it can be recovered.

Save the next one where you'll find it

When you find an important file, save it to a folder in Drive or OneDrive with a filename you'd search for: 2026-04 Lease signed - 12 Elm St.pdf beats scan0042.pdf. For recurring senders, a filter or rule that labels mail with attachments saves the hunt next time; see how to organize Gmail with labels and filters.

How Synced finds files for replies

Most attachment hunts start because someone asked for the file again. Synced handles that case: when a message in a connected Inbox asks for a document, it searches your connected Google Drive or OneDrive, using past emails for context, finds the file, and drafts the reply with it attached. The draft waits in Decide until you approve it. For search across mail and files in general, see Search.

D
Dana (landlord)
Gmail2:08 PM
Hi, our records are missing the signed lease from April. Can you send a copy?
2 Tasks Ready for Approval
Found "Lease signed - 12 Elm St.pdf" in Google Drive
Drafted a reply with the lease attached
Lease signed - 12 Elm St.pdf

An illustration. Nothing is sent until you approve it.

Questions

Frequently asked.

How do I see all emails with attachments in Gmail?

Search has:attachment. To narrow it, add a sender (from:), a file type (filename:pdf), or a size (larger:10M).

How do I search for an attachment by file name in Gmail?

Use filename: followed by part of the name or the extension, for example filename:invoice or filename:"q3 report".

Why can't I find an attachment I know I received?

The most common reasons: it was sent as a Drive or OneDrive link rather than a file, it arrived in another account or app, or it was deleted. In Gmail, add in:anywhere to include Spam and Trash.

How do I find large attachments to free up storage?

In Gmail, search larger:10M, or size: with a value in bytes, then delete or download what you don't need. In Outlook, sort a folder by size where your version offers it.

Get started

Get early access to Synced.

Join the private beta. Synced drafts the replies, finds the files, and proposes the meeting times. You approve.

Get Early AccessFree plan. No credit card.