in reply to reading email locally ?
No it's not perl but it does work really well.
You can also try Mail::Box or Email::Folder for a perl solution.
Update: I forgot about procmail