Program to receive email w/attachment, unzip attachment and email back unzipped files

I am trying to create a quick program for a linux box running qmail with qmail-scanner. What i want to do is set up an email robot to receive emails (that part is easy) with .zip attachments but it then needs to unzip the attachment and email the unzipped files back to the person that emailed them the zip file. Basically its just an automatic unzipper.

I can create the email robot which can receive email but at the moment all it can do is send an automated response back to the person. I want it to do more than this. Currently i am using Qmail/qmail-scanner/vpopmail/vqadmin.

The reason i want to do this is because i am trying to remove the need for me to purchase and install winzip on every workstation in my organization. Every once in a while, someone will receive a zip file via email which they need to open. We do not have winzip installed on these users workstations. Currently what i have them do is forward me the email they recieved, then i unzip it for them and then email them back the unzipped files. So im thinking to myself, why cant a program do this automatically? I know i can make the simple script to unzip the file itself but integrating this into the mail system is something i really dont know how to do.

No, i didnt know about info-zip. However, i would have to install this on about 150 workstations and show everyone how to use it. This may not sound like a big deal, but we're talking about doctors and nurses here and believe it or not, most of them have no clue when it comes to computers. Im looking to make it as easy as possible for them, and remove the headache for me.

Thats a good point. I didnt even think about the web app. Being that php programming is something i've been doing for some time now this wouldnt really be that difficult. Not to mention that using a web app would be a lot easier to manage directory structure within the zip file.

Have you ever been frustrated by having to click seven times in order to retrieve a small bit of information from the web, always the same seven clicks, scrolling down and down until you reach your target? When you know the benefits of the command l…

The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…

You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes.
Assigning simple products to configurable: We assigned simple products…