A nice tool that you can use to receive XMPP notification on incoming mails.
- uses inotify to detect new emails, so Linux only;
- Maildir-based deliveries only;
- Perl script.
My personal attempt at this was not as simple as this one. The current idea is based on qpsmtpd and ActiveMQ but its still in the "back of the brain"-stage.