Reading from Lotus notes mail server

Hi,

is there any way Unix shell script can directly read a mail on a mail server
(Lotus notes) and save it as a text file in a unix directory ?

For eg mail can be at abc@xyz.com and the same should be stored at
home/script on def.com