Hacker News new | past | comments | ask | show | jobs | submit login

If you just need email processing locally, I have found imapfilter to be quite nice. You can script it in Lua.

Personally I went a bit overboard with it and implemented a simple TCP server in node which queries GitLab APIs based on the email metadata and moves Mails into Folders based on assignees, Labels etc. So letting do imapfilter the heavy IMAP stuff, calling node via tcp and using the response to sort based on it.

[0]: https://github.com/lefcha/imapfilter




What if I have a SaaS platform and I want to configure the MX DNS and accept emails at `support@saas.com`? How would I set that up with say... docker-compose? Do I need both a STMP server and an IMAP server?


A with „locally“ meant like personal email accounts on Personal devices. If you have a Saas platform and want to send stuff, this OP sounds more reasonable.

I just wanted to give an alternative in case someone wants to programmatically interact with their email inbox without setting up and maintaining a service.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: