Gmail search operators for finding receipts attachments and signup emails
Narrowing Down Receipts with a Sender and Date Range
A receipt can get buried fast when the inbox is full. Instead of scrolling aimlessly, combine the sender’s address with a date cutoff. Typing from:@domain.com into the Gmail search bar quickly shows every email from that sender, and adding after:YYYY/MM/DD and before:YYYY/MM/DD trims the list to the exact time frame you remember — Gmail also accepts the shorthand older_than:6m or newer_than:7d if you’d rather think in relative terms like “six months ago” than track down an exact date. When the exact sender domain isn’t clear, try label:receipts if you already tag emails, or search for receipt plus a piece of transaction detail like the store name or invoice amount. Searching only for the word “receipt” without a sender or date returns newsletters, shipping notices, and payment confirmations from unrelated services, so start with the sender domain you trust and add the date range from there.
Finding Attachments by File Type and Size

Gmail lets you search for attachments directly using has:attachment followed by a file type — typing has:attachment filename:pdf shows only emails that include a PDF file, and for a scanned image receipt, has:attachment filename:jpg or filename:png narrows it further. Adding the sender or a keyword such as invoice or order helps separate actual receipts from other PDFs like contracts or manuals. It’s worth knowing that Gmail doesn’t just match on the filename, either: it actually indexes the text inside PDF and other document attachments, so searching for a distinctive word or number that appears inside the invoice itself — an order number, for instance — can surface the email even if you don’t remember what the file was named or who it came from.
A common issue is forgetting that many receipts are embedded in the email body instead of attached as a file at all. When has:attachment returns nothing, remove that operator and search by sender and date only. Some services send a plain-text confirmation with a link to download the receipt rather than a file, in which case opening the email and following the link is the way to view or save the PDF. If you need to forward the receipt to an accountant or expense system, download the file first rather than forwarding the email link, since some of those links expire after a few weeks.
Using Search Operators to Distinguish Receipts from Signup Emails
Receipts and signup confirmations often look similar because both contain a thank-you message and an account identifier, but the underlying purpose differs. A receipt confirms a payment and usually includes a transaction ID, amount, and payment method, while a signup email just confirms you created an account and may include a verification link or welcome instructions. Separating the two comes down to the minus operator, which excludes common signup words — from:@store.com receipt -welcome -verify -activate, for example, drops welcome and verification emails out of the results.
If results are still mixed, look at the subject line pattern instead. Receipt subjects often contain the word “receipt,” “invoice,” or “order confirmation,” while signup emails tend toward “welcome,” “verify your email,” or “confirm your account.” Searching subject:(receipt OR invoice OR “order confirmation”) isolates the payment-related messages directly.

Checking for Signup Emails When You Need Account Recovery
Signup emails come in handy when you need to recover a username, confirm the date you joined a service, or dig up the original terms you agreed to. The fastest way to find one is searching for welcome or verify in the subject line combined with the service name — subject:welcome from:@service.com usually surfaces the original account creation message. When the signup email included a verification link, it often contains the word confirm or activate instead, so subject:(welcome OR verify OR confirm) paired with the service’s domain covers most cases.
A common snag is that old signup emails may have been archived or automatically deleted after a few years, and it’s worth knowing that Gmail’s regular search doesn’t look inside Trash or Spam by default — if a search turns up nothing, add in:trash or in:spam to the query, or use in:anywhere to cover archived mail, trash, and spam together in a single search, before assuming the email is gone for good. If it’s still nowhere to be found, visiting the service’s login page and using the “forgot username” or “forgot password” option is the more reliable path — the service can resend account details, giving you a fresh confirmation message without any more digging through old mail. Saving that new email under a dedicated label makes any future account recovery simpler.