Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/andyhd/imap-jabber

simple jabber bot / imap client
https://github.com/andyhd/imap-jabber

Last synced: 3 months ago
JSON representation

simple jabber bot / imap client

Awesome Lists containing this project

README

        

IMAP Jabber Bot
===============

This is a simple script that connects to an IMAP server, checks for new mail
every 10s and sends jabber messages to a specified account for each new mail.

You can send a message to the bot in the form "read x", where x is the number
of the mail, and it will reply with the body of the email.

You need to create a `config.py` file in the same directory, which looks like
this:

config = {
'imap_host': 'imap.example.com',
'imap_user': '[email protected]',
'imap_pass': 'imap password',
'jabber_to': '[email protected]',
'jabber_user': '[email protected]',
'jabber_pass': 'jabber password'
}

Why?
----

It's just a quick hack I wrote to give me convenient access to my emails, since
I always have a chat window open for IRC anyway.