Email Robot for OS X Mail - printing emails

Before I post any attempts at coding this I figured I’d post the desired workflow here and see if anyone has feedback on any parts of it or as built something similar. (Note: Opportunity for freelance project.)

Essentially what I am looking to do is have an email robot that does the following:

  • Check email every 15 minutes
  • Replies to the sender with a boilerplate 'Thank you" message (if not on the “dont reply list”)
  • Saves attachments, if any, to a network server (subroutine needed to check for and mount volume, error notification otherwise).

If sender is on don’t reply list
Don’t print
else
Print each new email to a network printer

  • Move received mail to a “processed” mailbox.

We are currently doing this with an OS 9 box, Eudora Light and Frontier 5 but I am looking to move this all over to OS X.

I realize many of these actions/rules are built right into OS X Mail - I’m just wondering about the best approaches to printing each mail individually to a network printer and capturing errors if there are any.

Any thoughts? Please email me if you have a standing solution or are interested in compensation.