Auto-archive old Outlook emails without the rules wizard: 90-day cutoff in 30 seconds
Outlook's built-in AutoArchive is a 12-checkbox dialog from 2007. Here's what we ship instead: one weekly task that moves 90+ day-old mail to Archive across every folder, no per-folder configuration.
Outlook's classic AutoArchive feature still works, technically. It's also configured per-folder, defaults to PST files (which break across machines), and triggers a popup every 14 days asking whether you want to run it. Most people click “No” out of habit.
What you actually want is simpler: anything over 90 days old, move it from Inbox / Sent / Subfolders into the Archive folder. New mail keeps coming in. Inbox stays at a manageable size. Old mail is still searchable — just not in your face.
What our weekly task does
A scheduled PowerShell job runs every Sunday at 3 AM local time and does three things via Outlook's COM interop:
- Walks every mail folder on your default account — Inbox, Sent Items, plus any user folders you've created.
- Finds messages older than 90 days based on the “Received” date.
- Moves them to the Archive folder (the one Outlook ships with by default — Outlook's own Archive button uses the same destination).
Why 90 days, and why it's adjustable
We ship 90 days as the default because that's the sweet spot most heavy-email users land on after a couple of months of tweaking — long enough that you can still scroll back to recent threads, short enough that the inbox is meaningfully shorter.
Adjustable in your AutoSync intake. Tell us 30 / 60 / 90 / 180 days, we set it on install. Change it later, the script picks up the new value on the next Sunday run.
What stays in your inbox forever
Three categories the script never touches, by design:
- Flagged emails. If you flagged something for follow-up, it stays where it is. Flag = “I'm coming back to this.”
- Pinned conversations. Outlook's pin feature — pinned threads survive the archive sweep.
- Calendar / contact items. The script only walks mail folders. Your calendar entries and contacts are untouched.
Why this beats Outlook's native AutoArchive
Three concrete differences:
- No PST files. Native AutoArchive moves mail into a separate .pst file by default — which only exists on the machine that did the archiving. Switch laptops, your archived mail is gone. Our version uses Outlook's online Archive folder, which syncs across every device signed in.
- No 14-day popup. Native AutoArchive nags you. Ours runs silently on a schedule.
- One config, every folder. Native AutoArchive is per-folder and you have to configure each one. Ours walks every folder automatically.
What it doesn't do
Does not delete anything. Move-only. Everything is still in Archive, still searchable, still recoverable. If you actually want deletion, we have a separate cron-job for that — but we ship this one as move-only by default for safety.
Does not handle Outlook on Mac or Outlook Web. Windows desktop Outlook only — needs the COM interop API. Outlook Web Auto-archive is on the M365 roadmap (Phase D2).
Does not run in the moment. Weekly batch, Sunday 3 AM. If you need a one-shot “archive everything older than X right now,” that's a separate one-time command we can push.
Does not preserve folder structure inside Archive. Everything older than the cutoff goes flat into the Archive folder, not into “Archive/Inbox/” subfolders. Outlook's search across Archive is good enough that subfoldering hasn't been worth the complexity.
In every Computer Spy plan
The auto-archive script is part of the catalog and runs forever once installed. Pushed via the one-click agent install. Cutoff configurable on install or any time after.
See the full catalog