Skip to content

An IMAP email poller written in go to send emails into a Rabbit MQ message queue.

Notifications You must be signed in to change notification settings

catuss-a/email-poller

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Email-poller

An IMAP email poller written in go to send emails into a Rabbit MQ message queue.

How it works

When started, email poller sets the IMAP client on an Idle stance (IMAP Protocol feature), waiting for notifications. When the mailbox monitoring receives new incoming messages, it serializes them into raw datas and publishes them to a rabbit MQ message queue.

The Poller is based on this go package IMAP client.

How to install

  1. First, you need to have two configurated servers (both SMTP and IMAP). I would suggest you Postfix and dovecot which are the most common used servers for this kind of setup.
  2. Then get the package: go get github.com/emgenio/email-poller
  3. Finally run the command: email-poller

Usage

email-poller -h
Usage of email-poller:
  -config="./config.yaml": path to the configuration file.

Licence

MIT

About

An IMAP email poller written in go to send emails into a Rabbit MQ message queue.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%