Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Gmail can automatically archive or delete messages that match a filter, but it does not provide a built-in rule that periodically removes mail based on age. The older_than: operator finds old messages; it does not schedule cleanup.

To handle future mail, create a filter. To clean up messages already in your account, search for them and manually archive or delete the reviewed results.

What Gmail can—and cannot—automate

Goal Best Gmail method What happens
Keep future newsletters out of the Inbox Filter with Skip the Inbox (Archive it) Matching incoming messages bypass the Inbox but remain in Gmail.
Send future unwanted mail to Trash Filter with Delete it Matching incoming messages move to Trash.
Remove mail already older than a certain age Search with older_than: or before:, then bulk archive or delete You perform the cleanup manually from the search results.
Run an age check automatically every week or month Not available as a native Gmail filter schedule Gmail filters handle matching incoming mail; they are not periodic mailbox-cleanup tasks.

Searching for older_than:1y only displays matching messages. It does not change anything until you select messages and choose an action.

Useful Gmail searches for old messages

Enter one of these queries in Gmail’s search box:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Sale
SUPVAN E11 Keyboard & Bluetooth Label Maker Machine with 4 Tapes
  • Fast Keyboard & Smart App Printing: Print directly via the keyboard for quick frequent labeling, or use the App via Bluetooth connection to create customized designs; ideal for home organization, garage tools, pantry items, office files, and school supplies
  • Portable with Rechargeable Battery: Features with 1200 mAh battery provides up to 1 month of use per charge, offering great cost efficiency; lightweight (0.5 lb) and compact (5.7" x 2.9" x 1.3"), ideal for on-the-go labeling
  • Minimal Margin Printing: Prints labels with only 0.2" margin — just 1/5 the size of others; saves material while improving label efficiency
  • Versatile App Editing Function: Easily customize your labels with 30+ fonts, 50+ frames, and 660+ icons; built-in system with 17 languages (e.g., Spanish & French); create and save your own template locally; all free to use
  • Wide Label Compatibility: Works with continuous labels and die-cut labels; ideal for long content and batch printing
Query Matches
older_than:1y Messages older than one year
older_than:6m Messages older than six months
older_than:30d Messages older than 30 days
in:inbox older_than:1y Messages currently in the Inbox that are older than one year
category:promotions older_than:6m Promotional-category messages older than six months
from:newsletter@example.com older_than:1y Messages from one sender older than one year
before:2025/04/01 Messages dated before April 1, 2025

Gmail documents d for days, m for months, and y for years. Use older_than:30d, not a format such as older_than:30days. You can combine search operators with spaces; for example, in:inbox category:promotions older_than:6m.

Use a narrow query first when messages may be important. For example, in:inbox older_than:1y is safer than deleting every message in the account older than one year.

Automatically archive matching incoming email

Use this for recurring mail that you want to keep but do not want in the Inbox, such as newsletters, receipts, or automated notifications.

  1. Open Gmail on a computer.
  2. In the top search box, click Show search options.
  3. Enter the matching criteria, such as a sender, subject words, recipient, or a query like from:newsletter@example.com.
  4. Optionally click Search to check which messages match.
  5. Click Create filter.
  6. Select Skip the Inbox (Archive it).
  7. Click Create filter again.

The filter removes the Inbox placement; it does not delete the message. Archived mail remains under All Mail and can be found with in:archive from:newsletter@example.com.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
Sale
Nelko P21 Label Maker Machine with Tape, Bluetooth Label Printer, White
  • 2026 New Version: Compared with traditional label makers, Nelko P21 handheld label maker has half the weight and size, making it smaller, smarter, and ultra-portable. The wireless Bluetooth label maker can slip into your pocket, allowing you to print anytime, anywhere. For great printing results, we recommend using our NELKO thermal label paper. Important Note for iOS Users: Please make sure you have updated your Nelko P21 app to the latest version (V4.8.0) for a great experience
  • High-quality Printing: The P21 label maker features BPA-Free Direct Thermal Technology. Equipped with high-speed chips and 203 DPI, the P21 label maker delivers high-definition printing without ink or toner, perfect for back to school supplies. The label maker comes with a long-lasting built-in rechargeable battery for extended use. This label maker prints in monochrome (black text only), and you can create color labels by using color pattern label tapes. Note: Charging adapter not included
  • Easy to Use: NELKO label printer connects with iOS & Android phones via Bluetooth. Step 1: Download "Nelko" app from Google Play or App Store. Step 2: Install paper roll. Step 3: Connect P21 via Bluetooth in the APP. Step 4: Choose a quick template and print. It is not compatible with Google Pixel phones running Android 14. This label maker's APP includes 3600+ icons, 700+ borders, 5500+ materials, 750+ templates, 29 languages. Note: This label maker doesn't work with computers
  • Multiple Creative Functions & Templates: This app for the label maker provides various features and templates, making it easy to create various designed label stickers in the App with text, QR code, barcode, materials, images, time and borders, etc. The length of labels is fixed, including 14×40mm, 14×50mm, 14×75mm, and more. Please do not tear or damage the green sticker on the back of the label strip, otherwise it will affect the printing effect. Note: Continuous label tapes are not supported
  • Design Your Own Labels: This label maker machine with tape is widely used at home, in the office, and at school. At home, it helps organize clothes, food storage, cosmetics, and mailings. In the office, it is ideal for notebook tags, price tags, reminder labels, and other office supplies. At school, it supports teachers and students with name tags, item identification, and classroom organization. You can also use it to create unique back-to-school decorations and fun school supplies for kids

An archived conversation can return to the Inbox when someone replies. A reply is governed by the filter only if the reply itself matches the filter’s criteria. For example, a filter based on one sender may not catch a reply from a different address.

Automatically delete matching incoming email

Use deletion filters cautiously. They are suitable for mail you are certain you never need, such as messages from a known spammy sender or repeated automated messages.

  1. Open Gmail on a computer and click Show search options in the search box.
  2. Enter the sender or other criteria.
  3. Click Search to inspect the matches, if needed.
  4. Click Create filter.
  5. Choose Delete it.
  6. Click Create filter.

Gmail moves matching messages to Trash; it does not erase them immediately. Messages stay there for up to 30 days, during which you can recover them or permanently delete them. After 30 days, Gmail permanently deletes them and they cannot be recovered through the normal Trash workflow.

Do not create a broad rule based only on a vague subject word. Check the test results first, and exclude important mail when necessary. A filter matching a sender, subject, or mailing-list address is generally easier to audit than one relying on a wide keyword.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Sale
SUPVAN T50M Pro Bluetooth Label Maker Machine with Tape, Black
  • For Home and Small Business: Prints 3/4" - 2" wide labels; ideal for home organization (storage bins, bottle, jar, food container, etc.), small business (address, product info, QR Code, barcode, brand logo, etc.), or school and office supplies (name tag, folder, documentation, etc.)
  • Versatile App Editing Function: Easily add images from your phone, tablet or PC; customize your labels with 30+ fonts, 50+ frames, and 660+ icons; all free to use
  • Enhanced Image Quality: The App delivers precise image processing capabilities, resulting in a high-resolution and clear output; enhanced aesthetic appeal, formality, and richness
  • Easy to Use: The APP is completely free, requires no registration; features auto label size recognition; no ink or toner needed; create labels quickly and easily
  • Versatile Label Compatiblity: Compatible with square, round, address, cable, jewelry and file labels, to meet all your needs; ensuring a perfect fit for any project; keeps everything neat and tidy

Clean up old mail that already exists

Gmail filters are designed to handle incoming mail, not run periodic age scans. To clean up existing messages, search for them and apply an action manually.

Archive old messages in bulk

  1. Search for messages, such as in:inbox older_than:1y.
  2. Click the checkbox above the message list.
  3. Gmail initially selects conversations on the current page. If a notice offers Select all [number] conversations in …, click it to select the complete result set.
  4. Click Archive.

Archiving removes the Inbox placement but preserves messages. To find archived mail later, open More, then All Mail, or search with in:archive.

Delete old messages in bulk

  1. Run a query such as category:promotions older_than:6m.
  2. Review the results for anything worth keeping.
  3. Click the top checkbox, then choose Select all [number] conversations in … if Gmail offers that option.
  4. Click Delete.

The selected conversations move to Trash. To permanently remove them immediately, open More, then Trash, select the messages, and click Delete forever. To empty the folder completely, click Empty Trash now.

Important edge cases before deleting

Inbox searches and archived mail are different

in:inbox older_than:1y limits cleanup to messages currently in the Inbox. It will not include mail you previously archived. To include archived messages, remove in:inbox, but inspect the larger result set carefully.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #4
NDYIN N20 Label Maker Machine with Tape 2" Portable Bluetooth Label Printer
  • EASY LABELING: Create clear, professional labels for files, shelves, cables, and more with this versatile label maker machine.
  • 【EASY BLUETOOTH LABEL PRINTING — Create Labels in Minutes】 The NDYIN N20 Bluetooth Label Maker connects effortlessly to iOS and Android devices through the free Nada Print app. Design and print custom labels directly from your phone for product packaging, home organization, pantry storage, office files, classroom supplies, crafts, and more. No ink or toner is required.
  • 【WORKS WITH MOST THERMAL LABELS – Flexible & Cost-Effective】 Unlike many label makers that require specific branded labels, the N20 is compatible with most thermal labels available on the market. It supports label widths from 20 mm to 50 mm (up to 48 mm printable width), including popular sizes such as 30×40 mm, 40×30 mm, 40×60 mm, 50×30 mm, and 50×80 mm. NDYIN replacement labels offer strong adhesion, smooth feeding, clear printing, and reliable everyday performance.
  • 【FAST 203 DPI PRINTING & LONG BATTERY LIFE】 Create sharp and detailed labels with 203 DPI resolution, printing text, barcodes, QR codes, logos, and graphics at speeds of 35–40 mm/s. The built-in 2000mAh rechargeable battery prints up to 1,000 labels on a single charge and provides up to 100 days of standby time, making it ideal for home, office, retail, craft fairs, and small business use.
  • 【POWERFUL DESIGN APP & DEPENDABLE SUPPORT】 Create professional-looking labels with over 60 fonts, 50 frames, and 1,000+ icons in the Nada Print app. Easily personalize labels for home organization, product branding, pricing, QR codes, name tags, gifts, and more. The package includes the N20 Label Maker, a 40×30 mm label roll, Type-C charging cable, and user manual. Our dedicated support team is always available to assist with setup and operation.

Conversation view can make results look broader

Gmail may show an entire conversation when only one message matches a search. For example, -is:starred can display a conversation because one message matches, even though another message in that conversation is starred. Open important threads before applying a bulk action.

Categories and labels affect what you see

A query such as category:promotions older_than:6m targets messages classified as Promotions. Archived messages no longer appear in Inbox categories, but remain accessible through All Mail or search.

Edit or remove a Gmail filter

  1. In Gmail, click Settings in the top-right corner.
  2. Click See all settings.
  3. Open Filters and Blocked Addresses.
  4. Find the filter and click Edit or Delete.
  5. If editing, change the criteria, click Continue, then choose Update filter or OK.

Gmail also supports filter backups. On the same page, select a filter and click Export to save it as an .xml file. To restore filters, click Import filters, choose the file, click Open file, and then click Create filters.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

A safe cleanup pattern

For most accounts, this approach helps avoid accidental loss:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Best Value
Sale
DYMO LetraTag LT-100H Handheld Aesthetic Label Maker, ABC Keyboard Label Printer with Easy-to-Use, 13 Character LCD Screen, Great for Home & Office Organization, Pink
  • AVAILABLE IN A TRENDY PINK COLOR: Stay on top of things with a Pink design that stands out in all the right ways. Functional and fun, it’s a must-have for keeping life organized with style
  • SLIM, COMPACT & LIGHTWEIGHT: This sleek, portable label maker fits easily into any bag or space and allows effortless one-handed use on the go
  • WIDE TAPE VARIETY: Supports 12mm LetraTag tapes in paper, clear, opaque plastic, and textile finishes, all with easy-peel design and lasting readability
  • YOUR LABELS, YOUR DESIGNS: Personalize labels with various fonts, symbols, styles, and box options. Enjoy date stamping, two-line printing, and a fast 7mm/sec print speed—smudge-free and precise
  • BUILT TO LAST: Designed for home, school, and more, our durable label maker uses direct thermal printing for long-lasting reliability—no ink or toner needed
  1. Use a search such as category:promotions older_than:6m to identify low-value old mail.
  2. Archive it first if you may need it later.
  3. Create filters to archive future newsletters and notifications as they arrive.
  4. Use deletion filters only for senders or message types you have verified as disposable.
  5. Leave deleted mail in Trash for a while before using Delete forever.

FAQ

Can Gmail automatically delete emails older than 30 days?

Not with a native scheduled Gmail filter. Gmail supports searches such as older_than:30d and filters with a Delete it action, but it does not provide a periodic rule that scans the mailbox and deletes messages when they reach 30 days old. Search for old mail and delete it in bulk instead.

Does older_than:1y automatically create a filter?

No. It only returns messages older than one year. To create a filter, use Gmail’s Show search options, specify the criteria, click Create filter, choose an action, and click Create filter again.

What is the difference between archiving and deleting in Gmail?

Archiving removes a message from the Inbox but keeps it in Gmail, including under All Mail. Deleting moves it to Trash. Trash is automatically cleared after up to 30 days unless you recover the message or permanently delete it sooner.

Where do archived Gmail messages go?

They remain in Gmail under All Mail. You can also search with in:archive. If someone replies to an archived conversation, it can return to the Inbox.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Can I create or manage filters in the Gmail mobile app?

Google’s filter creation and management instructions use Gmail’s web interface on a computer. Open Gmail on a computer to create, edit, delete, import, or export filters.

The Bottom Line

Gmail filters can automatically archive or delete matching incoming mail, but they are not scheduled age-based cleanup jobs. Use older_than:30d, older_than:6m, or older_than:1y to find existing old messages, then bulk archive or delete the reviewed results. Archive when you want to keep the mail; choose deletion only when sending it to Trash is acceptable.