Hi all I'm looking for a scriptable email client for linux cli. Specifically I need to connect it to a Gmail account using IMAP IDLE so that I will be able to find new emails almost immediately. And secondly, when new emails arrive, I need a script that automatically parse the body of every email to look if they match a specific regular expression - and if they match, then another script should be executed.
Is this possible with Mutt? Can someone point me in the right direction? I've looked at the FAQ/Google, but couldn't find anything about this scenario. Thank you Kia
