It's not exactly the question

but in Outlook You can define rules just like in SQL ,for example.
According to these rules ,for example all mail contain words
"Ebay Item #### sold"
will create an action of sending the mail to the Buyer with the text :
"Congratulations in winning Item ##### ,
please ,pay...
and so on "
+ A lot of other great extended options.