News for hackers. Stuff that matters.
Re:Fennel – Lisp in Lua by fit2rule on Sunday September 06, 2020 @02:50PM (#24393663)
Your project sounds cool - is it possible to process email with Lua scripts, so that I could use a mailbox as a business process queue that is also user-friendly, while having a suite of Lua apps processing the mailboxes? If so, care to share details of your project if its open/available?
Re:Fennel – Lisp in Lua by stevekemp on Sunday September 06, 2020 @11:11PM (#24396320)
It wouldn't be impossible to iterate over a series of mails, and get the message-bodies, but it would be a bit fiddly and annoying as the program was more designed as an email-client.

https://github.com/lumail/lumail/

https://lumail.org/

Honestly I'd probably write something in perl/go/similar to just walk over a remote IMAP mailbox:

* Search for messages that are unread, or which don't have a given tag.

* Process each one.

* Mark as read, or add a tag.

(I actually did something like that recently for processing DMARC reports.)

Re:Fennel – Lisp in Lua by fit2rule on Monday September 07, 2020 @01:42AM (#24396887)
Neat project - thanks for sharing. I really like the idea of having a Lua-backed email app which can be used to do mail processing ..