Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

An IMAP queue package

Project description


This package uses any IMAP server as a python queue, allowing processes in separate domains to communicate over EMAIL.

All you need is an IMAP account, and you are good to go.

Example usage:

from pyimapq import PyImapQ

mq = PyImapQ(user='my_user', password='very strong password')
assert mq.connected

def flt(subject):
	return subject in ['a', 'list', 'of', 'subjects', 'to', 'accept']

msgs = mq.get_unread_emails(flt, mark_as_read=True)

# msgs will now hold the email itself. You can use mq.get_body(msg) to get the
# body, or msg['Subject'], etc, to access the message meta data

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyimapq, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size pyimapq-0.0.1-py3-none-any.whl (1.5 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page