AutoFileEmail
    IntegrationsSolutionsComparePricingFAQBlog
    Sign inConnect Drive
    1. Blog
    2. Gmail Filters For Receipts: 5 You Should Set Today
    On this page
    Filter 1: SaaS vendors with attachmentsFilter 2: subject-line catch-allFilter 3: annual subscription renewalsFilter 4: dynamic from-list builderFilter 5: never-spam transactional emailsWhat actual filing looks likeWhen Gmail filters still make senseTL;DR

    Gmail Filters For Receipts: 5 You Should Set Today

    MMitchel Kelonye
    •
    Jun 26
    •
    Gmail
    Filters
    Automation
    Tutorial

    Gmail filters for receipts: 5 essential rules to set today for freelancers

    Gmail filters are powerful and underused.

    If you've never set one up, the gist: you write a rule like "from this address, with these words, do this thing." Gmail applies it on every incoming email forever.

    For receipts specifically, the right set of filters can turn a chaotic inbox into a tagged, organized stream of incoming PDFs. Five filters cover most of what a freelancer or solo founder needs.

    This post walks through those five filters with the exact Gmail syntax. Then, halfway through, the catch nobody mentions: filters label, but they don't actually file anything. Which means you're still doing manual work when March rolls around.


    Table of Contents

    • Filter 1: SaaS vendors with attachments
    • Filter 2: subject-line catch-all
    • Filter 3: annual subscription renewals
    • Filter 4: dynamic from-list builder
    • Filter 5: never-spam transactional emails
    • What actual filing looks like
    • When Gmail filters still make sense
    • TL;DR

    Filter 1: SaaS vendors with attachments

    The bread-and-butter filter. Captures the 15 to 20 SaaS vendors most founders pay every month and labels them.

    Gmail filter syntax:

    from:(stripe.com OR aws.amazon.com OR github.com OR vercel.com OR cloudflare.com OR makenotion.com OR linear.app OR figma.com OR slack.com OR zoom.us OR loom.com OR anthropic.com OR openai.com OR resend.com OR digitalocean.com)
    has:attachment
    from:(stripe.com OR aws.amazon.com OR github.com OR vercel.com OR cloudflare.com OR makenotion.com OR linear.app OR figma.com OR slack.com OR zoom.us OR loom.com OR anthropic.com OR openai.com OR resend.com OR digitalocean.com)
    has:attachment

    Action: apply label Receipts/SaaS, mark as read (optional), skip inbox (optional if you want them auto-archived).

    How to set it up: Gmail -> Settings (gear icon) -> See all settings -> Filters and Blocked Addresses -> Create a new filter. Paste the from: query, check the "Has attachment" box, hit "Create filter," then check "Apply label" and pick or create Receipts/SaaS.

    The good: every email from any of these vendors with an attachment now lives under one label. Searching label:Receipts/SaaS shows all your SaaS receipts in one stream.

    The bad: you have to keep the from: list current. New vendors don't appear. Vendors who change their billing email address (AWS does this every 18 months or so) silently stop matching the filter. You'll find out next March when there's a gap in your records.

    Filter 2: subject-line catch-all

    A broader net for invoices and receipts that don't come from your known vendor list.

    subject:(invoice OR receipt OR payment OR billing OR "your order")
    has:attachment
    -from:(linkedin.com OR pinterest.com OR meetup.com)
    subject:(invoice OR receipt OR payment OR billing OR "your order")
    has:attachment
    -from:(linkedin.com OR pinterest.com OR meetup.com)

    Action: apply label Receipts/Pending. Skip inbox optional.

    The exclusions matter. LinkedIn sends "your invoice for the LinkedIn ad" emails that are not your normal SaaS bills. Pinterest sometimes uses "receipt" in marketing subject lines. Meetup occasionally sends invoice-themed promotional emails. Excluding these keeps your Receipts/Pending label clean.

    The good: catches new vendors automatically. A new tool you signed up for that sends "invoice for [tool name]" lands here, even if you forgot to update Filter 1.

    The bad: false positives. Marketing emails with "receipt" in the subject. Confirmations that aren't bills. You'll still spend 2 minutes a week reviewing the label.

    Inbox view with subject-line catch-all Gmail filter for invoices/receipts

    Filter 3: annual subscription renewals

    Annual subs are the silent expense killer. They charge once a year, you forget about them, the receipt buries itself, and you can't find it in March.

    subject:("annual" OR "yearly" OR "renewed" OR "renewal" OR "subscription renewed")
    has:attachment
    subject:("annual" OR "yearly" OR "renewed" OR "renewal" OR "subscription renewed")
    has:attachment

    Action: apply label Receipts/Annual. Mark as important.

    The good: annual receipts get extra visibility. Marking important means they show up in your priority inbox. You're less likely to miss one.

    The bad: you still need Filter 1 or Filter 2 to catch the email in the first place if the vendor doesn't put "annual" in the subject. Belt and suspenders: this filter chains with the others.

    Annual subscription renewal receipts organized with a Gmail filter

    Filter 4: dynamic from-list builder

    This is the trick most Gmail-power-users discovered the hard way.

    When you find a new vendor invoice in your inbox, instead of editing Filter 1 by hand, do this:

    1. Open the invoice email.
    2. Click the three-dot menu next to the date.
    3. Choose "Filter messages like these."
    4. Gmail pre-fills from:billing@newvendor.com.
    5. Modify the from to use the registrable domain, not the specific email: change billing@newvendor.com to *@newvendor.com (Gmail accepts wildcard-domain matching in some contexts; for older accounts use just newvendor.com).
    6. Add has:attachment.
    7. Create the filter, apply label Receipts/SaaS.

    You're now up to N filters, one per vendor, each labeled the same way. This is more reliable than the OR-stuffed Filter 1 because each vendor has its own dedicated rule, and Gmail won't silently miss one if the OR query gets too long.

    Gmail has a hard cap of about 1500 filters per account. You're not going to hit it.

    The good: durable, granular, easy to debug if one vendor stops appearing.

    The bad: takes effort to maintain. You're doing the receipt-app's job, manually, in Gmail.

    Dynamic from-list builder workflow for Gmail filters

    Filter 5: never-spam transactional emails

    The single most-frustrating filter problem: Gmail occasionally marks legitimate vendor receipts as spam. New vendor, low sender reputation, generic subject line, suspicious-looking link in the email body. Gone.

    Fix:

    from:(stripe.com OR aws.amazon.com OR github.com OR vercel.com OR ...)
    from:(stripe.com OR aws.amazon.com OR github.com OR vercel.com OR ...)

    Action: never send to spam, never mark as important (so it doesn't crowd your priority inbox), apply label Receipts/SaaS.

    This filter overrides Gmail's spam classifier for known senders. It does not protect against phishing pretending to be those senders, but it does prevent the legitimate receipts from being filtered out.

    The good: no more "where's my AWS bill" panic.

    The bad: same maintenance burden as Filter 1. Keep the list current.

    Never-spam transactional emails filter preventing legitimate receipts from being marked as spam

    This is the catch: filters don't actually file

    Here's where the post pivots.

    You've now set up 5 to 20 Gmail filters. Every receipt is correctly labeled. Your Receipts/SaaS label has 130 emails in it.

    Now: it's March. Your CPA emails you. "Send me your 2025 receipts."

    What do you do?

    You open label:Receipts/SaaS. You see 130 emails. You click the first one. You click the attachment. You click "Save to Drive" or download. You repeat for the second email. And the third.

    130 emails. 90 seconds each, including renaming the file so it's not called invoice.pdf and adding it to the right folder. That's 195 minutes. Three and a half hours.

    Filters labeled the emails. They didn't file the attachments. The attachments still live inside the email body, and you have to extract them one by one.

    This is the gap nobody tells you about when they say "just use Gmail filters."

    What actual filing looks like

    The thing you actually want is: when an email with an attachment arrives, save the attachment to the right folder in Drive automatically. No manual extraction. No "save to Drive" clicks.

    That's what AutoFileEmail does. The setup is one connection (Gmail OAuth read-only) plus one connection (Drive drive.file scope). After that, every new email with a PDF attachment gets the PDF dropped into /AutoFileEmail/{sender-domain}/{year}/{month}/.

    You don't need any of the five filters above. The sender-domain logic is built in, so AWS bills go to amazon.com, Stripe bills go to stripe.com, regardless of which billing address the vendor uses.

    You also don't need the annual-renewal filter because every receipt lands in the year-and-month folder it was sent in. Annual subs hit December (or wherever the renewal lands), and they're trivial to find next year.

    The only filter you really need:

    has:attachment AND from:(*)
    -> let AutoFileEmail handle it
    has:attachment AND from:(*)
    -> let AutoFileEmail handle it

    Which is to say, no filter. Just connect Gmail to Drive automatically and stop manually labeling things.

    When Gmail filters still make sense

    To be fair, Gmail filters aren't useless. They make sense if:

    • You don't want a third-party app reading your Gmail and you're committed to manual filing.
    • You only have 5 to 10 vendors and the maintenance is trivial.
    • You're using filters for non-receipt purposes (newsletters, project tags, etc.) and adding receipts is incremental.

    If any of those describe you, set up filters 1, 2, and 5 above. Skip the others - they're high-maintenance, low-value.

    If you're filing receipts, the Gmail filter approach hits a wall. Filters label, but they don't extract attachments. Filing means extracting.

    TL;DR

    Five Gmail filters get your receipts labeled and organized inside Gmail. They don't move attachments to Drive. They don't create folders. They don't reduce the manual work of extracting PDFs in March.

    If your goal is "every receipt PDF lives in a Drive folder, organized by vendor and year, with zero ongoing effort," you need an actual filing tool - not a labeling system.

    AutoFileEmail does the filing. Free for one inbox. Two-click setup. The five-filter Gmail system becomes a zero-filter system, because the filing happens automatically and you don't need labels to find anything.

    Set the filters if you like. Then connect Gmail and Drive once, and watch the labels become irrelevant.

    The last time you'll dread tax season.

    Connect Gmail and Drive, watch the 30-day preview file itself, and never think about new email attachments again. Forward filing is free, forever. When tax season comes, grab a Backfill Pack and we'll sweep the rest of your history.

    Connect Drive — free See pricing

    Thanks for reading! If you want to see future content, subscribe to our RSS feed.

    ← Older
    What the IRS Actually Needs From Your Receipts (Boring But Free)
    Newer →
    1099 vs W-2 Income: Filing Receipts When You Have Both
    AutoFileEmail

    We don't read your documents. We just file them. Receipts, invoices, statements — sorted into your cloud, automatically.

    Product
    • Pricing
    • FAQ
    • Blog
    • About
    Compare
    • AutoFileEmail vs. Receiptor AI
    • AutoFileEmail vs. Hubdoc
    • AutoFileEmail vs. Dext
    • AutoFileEmail vs. Zapier
    • AutoFileEmail vs. CloudHQ Save Emails to Drive
    Integrations
    • Auto-save Gmail attachments to Google Drive
    • Auto-save Gmail attachments to Dropbox
    • Auto-save Outlook attachments to OneDrive
    • Auto-save Outlook attachments to SharePoint
    • IMAP + Google Drive Integration
    Solutions
    • AutoFileEmail for Freelancers
    • AutoFileEmail for Bookkeepers
    • AutoFileEmail for Landlords — Schedule E ready by April
    • AutoFileEmail for Consultants
    • Tax-Time Receipt Organization
    Legal
    • Privacy policy
    • Terms
    • Security
    © 2026AutoFileEmail · We don't read your documents.PrivacyTerms