This would not be easy to do from d2k.
This would be easy to do from Java.
To talk to an MS Exchange server (you will not be reading "outlook" messages -- outlook is an email CLIENT -- you will be getting the messages from the server which I assume is exchange in your case since everything else is MS based)....
Using the Java Mail API it is easy to read email from a variety of Email Servers. Using JDBC, it would likewise be easy to insert them into the database.
See
</code>
http://asktom.oracle.com/pls/asktom/f?p=100:11:::::P11_QUESTION_ID:255615160805 for an example using Java to SEND (not recieve) email. It is packaged into the database -- but that is not necessary. It simply shows how you might use the Java Mail API from sun to do this.
See
http://java.sun.com/products/javamail/ <code>
for all of the details.
followup to commentThat is funny -- how are OLE and DDE "Oracle technologies"???
Java is (a technology embraced and supported by Oracle) -- OLE and DDE -- well, they are the property of another company (and a single company).
If the reader wants information on how to program OLE and DDE, Microsoft would be the correct place to go.
As I said in the answer, doing this in D2k would be *very hard*.
Doing this from the database using Java -- trivial.
If you read the link I provided, I show how to provide a very simple interface to java using PLSQL -- very simple. At the end of the day, the coders user PLSQL, not Java. The java is just there to read the mail.
If the people on site know OLE and DDE -- they should actually be able to answer this question then (i cannot, I never bothered to learn those two technologies myself - sorry)....
I try to give useful advice, better paths to take.