Accessing outlook mails from unix

Hi,
For a requirement in my project, i need to implement code in unix such that unix checks whether the necessary mails from a particular client is received in outook inbox. Note that, i ve to check whether that particular mail has got any attachment too..

Please tell me whether this is possible