Hi guys

I'm trying to create a small program for my own use. That is, whenever a new mail is received in my account, it would be automatically listed in my program. Instead of periodically checking for new mails (say, on a 5 minute interval), I'm thinking about those "Email piping" features that I heard from others.

Any ideas on this ?

Thanks