erotsppa
erotsppa

Reputation: 15021

How to write a unix script that gets notified with IMAP IDLE from Gmail?

I'm looking for a way to get notified in my unix system for new email. I know gmail supports IMAP IDLE, what is the best way to make use of that feature? Any programming language is fine, as long as it is supported in linux/unix.

Upvotes: 4

Views: 1992

Answers (2)

Charlie Wilson
Charlie Wilson

Reputation: 284

I would suggest python and IMAPClient by Menno Smits.

http://imapclient.readthedocs.org

Upvotes: 7

Inshallah
Inshallah

Reputation: 4814

I have not used this, but for Perl the Mail::IMAPClient module seems to support IDLE.

Upvotes: 4

Related Questions