Free tool

Gmail archived email finder

Archived mail is not gone. It leaves the inbox and waits under All Mail. Fill in whatever you remember and the tool writes the search that looks only in your archive, then shows how to bring the message back.

Runs in your browser. Nothing you enter is sent to InboxNight.

What you remember

An address or a domain works best. A name can match less reliably.

Any order. Every word has to be there.

These words, together and in this order.

When and what kind

Gmail search query

in:archive

Finds archived mail.

What each part does

  • in:archiveLooks only at mail you archived, not the inbox, Spam or Trash.

Move mail back to the inbox

On a computer:

  1. Paste the query into the Gmail search box, or use the open button above.
  2. Tick the box next to each message you want back.
  3. Click Move to Inbox at the top.

In the Gmail app on Android or iPhone:

  1. Tap the search bar, paste the query and search.
  2. Touch and hold the message.
  3. At the top right, tap More, then Move to Inbox.

If it still does not show up

  • Plain searches look in the inbox first. This query looks only in archived mail, so a message still in the inbox will not appear.
  • Mail in Spam or Trash is left out of most searches. Replace in:archive with in:anywhere to include them.
  • Labels belong to single messages, not whole conversations, so a label filter can miss part of a thread.
  • A phrase has to match word for word. Try fewer words, or the subject words instead.

How to use it

  1. Fill in any of the boxes you remember: the sender, words from the subject, an exact phrase from the email, when it arrived, an attachment, or whether it carries any of your own labels.
  2. Leave the rest empty. With nothing filled in, the query is only in:archive, which lists everything you have archived.
  3. Copy the query into the Gmail search box, or click the open button to run it in a new tab.
  4. When you spot the message, tick the box next to it and click Move to Inbox at the top. In the Gmail app, touch and hold the message, tap More, then Move to Inbox.
  5. If nothing turns up, read the checklist under the result. Spam, Trash and a too exact phrase are the usual reasons.

How the query is put together

The query always starts with in:archive and then adds one term for each box you filled in, in a fixed order.

  1. in:archive makes Gmail look only at mail you archived. Archiving removes mail from the inbox and keeps it under All Mail.
  2. The sender becomes from:. An address or a domain is used as typed, and an address inside angle brackets is taken out and used on its own.
  3. Subject words become subject: with the words in parentheses, so Gmail needs every word but not in any particular order.
  4. The exact phrase goes in quotes, so Gmail looks for those words together and in that order.
  5. The time range becomes newer_than: with 7d, 1m, 6m or 1y, or a pair of after: and before: dates in YYYY/MM/DD form when you pick two dates.
  6. An attachment adds has:attachment.
  7. Only mail with none of your own labels adds has:nouserlabels.

What the code works out for you

These parts are fixed by code and do not depend on guesswork.

  • The order of the terms is always: archive, sender, subject, phrase, time, attachment, labels.
  • Dates are accepted only if they are real calendar days, and the start cannot come after the end. Otherwise the query is held back and you are told why.
  • Dates you typed are ignored unless the range is set to between two dates.
  • Quote marks and brackets you typed in the phrase or subject words are removed, because Gmail search has no way to escape them.
  • The open-in-Gmail address is https://mail.google.com/mail/u/0/#search/ followed by the whole query, encoded.

What this tool does not do

  • It does not connect to your Gmail account, so it cannot tell you whether the message exists or how many match.
  • It cannot search Spam or Trash with the archive term. Swap in:archive for in:anywhere if the message may be there.
  • It cannot match a message by its attachment's contents, only by whether it has one.
  • It cannot guarantee a match on a sender's name. An address or a domain is the reliable choice.
  • It does not move mail for you. You do that in Gmail with the steps shown.

Worked examples

A supplier invoice from the last year

You enter: Nadia Brooks at Northwind Supply remembers the sender, the invoice number 4471, and that a PDF was attached.

You get: in:archive from:invoices@northwind-supply.example subject:(invoice 4471) newer_than:1y has:attachment

An agenda from a spring kickoff

You enter: Tomas Lindqvist at Fernhill Design remembers two words from the body and that it arrived between March 1 and April 1, 2025, and that he never labeled it.

You get: in:archive "kickoff agenda" after:2025/03/01 before:2025/04/01 has:nouserlabels

Something recent from a colleague

You enter: Cleo Aydin at Fernhill Design only remembers the address and that it was in the last six months.

You get: in:archive from:cleo@fernhill.example newer_than:6m

Common mistakes

  • Searching from the inbox. A search that starts in the inbox cannot find archived mail. Use in:archive, or open All Mail on the left and search there.
  • Forgetting Spam and Trash. A message you deleted or that Gmail filtered is not in the archive. Replace in:archive with in:anywhere to search every folder, Spam and Trash included.
  • Trusting a label filter on a thread. Labels sit on single messages, not on a whole conversation. A search by label can miss the part of a thread that has none.
  • Typing an approximate phrase. A phrase in quotes has to match word for word. If it finds nothing, drop words from it or use the subject box instead.

Questions and answers

Where does archived mail go?

It leaves the inbox and stays under All Mail. You can find it with a search that begins in:archive. If someone replies to a message you archived, it returns to your inbox.

Does archiving delete anything?

No. Archiving only takes a message out of the inbox. Deleting is a separate action that moves mail to Trash, where it stays for up to 30 days.

How do I move a message back to the inbox?

On a computer, find the message, tick the box next to it and click Move to Inbox. In the Gmail app on Android or iPhone, touch and hold the message, tap More at the top right, then tap Move to Inbox.

What does has:nouserlabels do?

It finds mail that has none of the labels you created. It helps when you sorted most of your mail into labels and want the pieces that never got one.

Why does a search by a sender name find less than a search by address?

The from operator is built around addresses and domains. A name can match, but less reliably, so try the address or just the domain if the name finds nothing.

Can I use two time limits at once?

Pick one range. The recent ranges use newer_than, and the between option writes an after date and a before date. They are separate choices so the query stays easy to read.

Sources

Let rules tidy your inbox for you.