I remember doing something very similar in SQL 2000 with xp_readmail ( FAQ email helper - customer emails inbox with subject line HELP and we query the DB for related articles and reply to them links). But I think the correct approach here is to code in .Net or somether programming language , probably create a service which polls the Exchange server and do it that way.