I've built the beginnings of a module I've called views_imap, which allows you to access email lists and messages using IMAP with a View definition.
I need a system that can take messages from an IMAP folder, parse them with pattern matching, and then execute actions depending on which pattern(s) matched.
Might there be a possibility to collaborate?
Comments
Comment #1
arla commentedNice, that seems to be within the scope of Inmail. I imagine that we could implement the IMAP fetching in Inmail, and views_imap can define analyzer(s) and handler(s) for its purposes.
This would help to open up the API of Inmail for more than the domain of bounce processing, which has so far been its primary goal.
Comment #2
fonant commentedActually I was thinking the other way round: my views_imap module handles talking to the IMAP server and fetching mail but doesn't yet have a mechanism to do anything other than list the messages. I was planning to use Rules to process the fetched messages, but saw your module with its possibility to have mail analyser plugins.
Comment #3
arla commentedYes, Inmail should be a good match for controlling the analysis and actions that you want to perform.
As said, the API is currently terribly local to bounce processing. I would be happy to discuss a less restricted approach, in order for views_imap to be able to define an analyzer/handler pair that fulfills its purposes. I just created #2381023: Open up Result API for that.
IMAP support within Inmail is discussed in #2379889: Fetch email by IMAP. Regarding Rules, I'm not familiar enough with it to compare it to Inmail in terms of handling messages. I'll look into it to make sure we don't have too much duplicate goals. But, tangentially, I will create another issue for integration with Rules (as a long-term target).
Comment #4
miro_dietikerGood news is this:
We have IMAP fetchers now. I think there's no need anymore to integrate with views_imap.
Also the APIs are nicely improved and getting more and more stable.
Hope you can use it and help us improve the situation.