I am wanting to process emails automatically, and didn't know if anyone had any suggestions. Our server seems to be on Unix. I want it to work similarly to the way a place like Amazon might do business... basically, I would receive an email from someone with a specific subject line (say it's says they've paid for a subscription). My email would automatically open the email and grab information from the message to store in a database (say the username and amount paid). Is there a way to do this? Obviously some places like Amazon are doing it, but I didn't know if it would be way out of my reach.

Thanks,
AM