<p>Given is a network scanner, which has the ability to mail scans to a mailbox. the solution should contain a mailbox on a linux (ubuntu) server (already there) to which the mails are sent. in order to automate to process of opening a mail client and saving the attached scans to a folder, a script should be developed which listens for new mails in the mailbox and automatically extracts the attachments and saves them to a folder.</p>