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).
In reply to Re: reading email locally ?
by dorward
in thread reading email locally ?
by ahmad
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |