DEV Community

Akshay Jatin Solanki
Akshay Jatin Solanki

Posted on

I Was Tired of Saving Outlook Attachments One-by-One — So I Automated It

I Was Tired of Saving Outlook Attachments One-by-One — So I Automated It

If you work heavily with Microsoft Outlook in a corporate environment, you probably know this painful routine:

  • Open email
  • Download attachment
  • Save file
  • Repeat again
  • Repeat 100 more times

It sounds small.

But when your work involves:

  • engineering documents
  • vendor quotations
  • datasheets
  • project files
  • MOMs
  • RFQs
  • procurement emails
  • client deliverables

…it becomes a massive repetitive productivity drain.

Especially in EPC, engineering, documentation, procurement, and project management workflows.

At one point I realized:

I was spending more time downloading attachments than actually doing meaningful work.

So I decided to automate it.


The Problem

Microsoft Outlook still doesn’t provide a clean native way to:

✅ Select multiple emails
✅ Download all attachments together
✅ Handle duplicate filenames safely
✅ Skip useless signature images
✅ Avoid repetitive clicking

Instead, the normal workflow looks like this:

❌ Open email
❌ Download attachment
❌ Save file
❌ Close email
❌ Repeat manually forever

For a few emails this is okay.

For hundreds of emails every week?

Not okay.


The Idea

I built a VBA automation tool for Outlook that allows me to:

  • Select multiple emails at once
  • Download all attachments automatically
  • Handle duplicate filenames
  • Skip inline/signature images
  • Prevent invalid filenames
  • Keep Outlook responsive during large batch operations

Now the workflow is:

✅ Select emails
✅ Run macro
✅ Choose folder
✅ Done

That’s it.


Real Productivity Impact

If you process:

  • 100–200 emails/day
  • multiple attachments per email
  • large engineering/project documentation

this repetitive task alone can waste several hours every week.

The biggest realization for me was:

Small automation removes huge mental fatigue.

Not just time.

Mental fatigue.

Repetitive clicking slowly destroys focus during office work.

Automation fixes that.


Features

The tool includes:

  • Bulk Outlook attachment saving
  • Duplicate filename handling
  • Illegal filename sanitization
  • Inline/signature image filtering
  • OLE attachment filtering
  • MAX_PATH protection
  • Outlook UI responsiveness optimization
  • Defensive error handling
  • Performance optimization

It evolved from:

“simple VBA macro”

into:

“production-grade Outlook productivity automation.”


Example Workflow

Before:

❌ Open email
❌ Save attachment
❌ Repeat manually

After:

✅ Select all emails
✅ Run macro
✅ Everything downloads automatically


Who This Is Useful For

This turned out to be surprisingly useful for:

  • Engineering teams
  • EPC companies
  • Procurement departments
  • Documentation teams
  • Project managers
  • Corporate Outlook-heavy workflows
  • Anyone drowning in repetitive email attachments

Basically:

anyone who spends too much time inside Outlook.


Why I Shared It Open Source

A lot of office productivity problems are weirdly universal.

Thousands of people are probably repeating the same boring tasks every day manually because:

  • they don’t know automation is possible
  • nobody showed them
  • or they assume only “developers” can automate workflows

But small automation tools can genuinely save:

  • hours
  • frustration
  • repetitive effort
  • mental exhaustion

So I decided to publish this project publicly on GitHub.


GitHub Repository

Repository:

https://github.com/akshayai1996/Outlook-Bulk-Attachment-Saver


Future Improvements

Some ideas I may add later:

  • Sender-based folder sorting
  • Date-wise organization
  • CSV logging
  • Duplicate hash detection
  • ZIP extraction
  • Ribbon button integration
  • Progress bar
  • Power Automate integration

Final Thought

One thing I’ve started realizing recently:

A lot of impactful software is not flashy.

Sometimes the best tools are simply the ones that remove repetitive friction from everyday work.

This project started because I got tired of clicking “Save Attachment” hundreds of times.

Now it saves me hours every week.

And honestly, I wish Outlook had this feature natively.


Tags

productivity #automation #outlook #vba #office #workflow #opensource #engineering #microsoft #developers

Top comments (0)