You will find an example of this here (in the member's areas, although the code examples are also supplied individually)
http://www.news2news.com/vfp/?function=-1&example=270>Is it possible to access local email files reading subjects, addresses, etc?
>
>Maybe an API?
>
>Where is email files stored on a client machine?