in reply to Mail Clients and Perl

Sylpheed-claws can do what you're asking. Custom actions are trivial. It's trivial to make it pipe the message to stdin for your script to receive and suck the output from stdout for the results.

--
Diplomacy is the art of saying "Nice doggie" until you can find a rock.
naChoZ