Since your
ETL Products support OLE DB we used JET OLE DB Provider to get email messages
Below is how:
Connecting to an Outlook personal mail box using the JET OLE DB Provider
Provider=Microsoft.Jet.OLEDB.4.0;Outlook 9.0;\"MAPILEVEL=;DATABASE=C:\\Temp\\;
Replace c:\temp with any temporary folder. It will create a schema file in that folder when you open it which shows all the fields available. Blank MAPILEVEL indicates top level of folders).
Connecting to an Exchange mail box through JET:
Provider=Microsoft.Jet.OLEDB.4.0;Exchange 4.0; MAPILEVEL=Mailbox - John|;DATABASE=C:\\Temp\\;
You must replace c:\\temp with any temporary folder.
Replace John with the name of the mail box and you must keep vertical pipe character | to indicate top level of folders. Place sub folder after vertical pipe if accessing specific folder.
as a result you can enter queries against the mail store just like a database... For example:
SELECT Contacts.* FROM Contacts
For more information, see:
msdn.microsoft.com/en-us/library/aa160682%28office.11%29.aspx
John