in reply to reading email locally ?
If checking the email every 5 seconds is useful to you, then it is quite likely that you really want to be processing each email as it comes in.
If so, take a look at a tool such as procmail which can (conditionally) pass email through external programs (including Perl scripts).
|
|---|