I\'m in the process of testing an application that takes mail out of a mailbox, performs some action based on the content of that mail, and then sends a response mail depend
Take a look at JES, seems to do what you want.