Created the first version of a Mail Delivery Agent script (for Postfix but might work with others) that sends the email via zeromq to an application which can file the images from an email.  The mail processing application is currently a skelaton but does save the image attachments as files.