muesli / beehive

A flexible event/agent & automation system with lots of bees 🐝
GNU Affero General Public License v3.0
6.29k stars 320 forks source link

IMAP Hive #277

Open CalmBit opened 4 years ago

CalmBit commented 4 years ago

As mentioned in #258, an IMAP hive for processing emails would be great to have.

CalmBit commented 4 years ago

Probably could use something like this for it? I'm still planning to see if I can get this up and running now that I'm going to have a LOT more free time on my hands.

helmut72 commented 4 years ago

Any progress on IMAP support? Thank you!

fabiante commented 4 years ago

I would too be interested in this. But i figure there are a couple of questions to consider when implementing this. Would an IMAP event simply fetch all mails? Or should it filter only a subset of mails from an inbox folder? A trigger like that would also have to move the processed mails into another inbox folder to avoid having them being picked up multiple times.

helmut72 commented 4 years ago

My workflow will be processing specific attachments by filename, from, subject or any other header field. For now it's a cronjob and it works, but I always need to remember it exits.

mredaelli commented 3 years ago

Also interested :)

helmut72 commented 3 years ago

Have a look at this: https://github.com/andris9/imapapi

You can access IMAP mailboxes with an HTTP API ;)