I would love if Python was built into Outlook and would let me write custom rules in Python to process mail.
Some that I encountered recently were:
You cannot use regular expressions.
There is not a way to create a rule to delete or move messages after a N days.