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

Is there a good existing framework that can turn emails into events? Some sort of IMAP client ?



Sendgrid has an inbound parse feature (https://sendgrid.com/docs/User_Guide/Settings/parse.html) which you can use to start building a framework - it takes any inbound email to a domain and forwards it as an HTTP request to an endpoint you specify. Used it for a few projects and its worked great.


Name your language of choice and I’ll link you to a good one.


Java


JavaMail API ;)


Does that have the ability to call a specified callback function when an email arrives from a specified sender?


It’s a full framework for handling almost everything a MUA would do (imap/pop, email parsing, mime parsing, sending email, etc), so yeah, it can do that. You’ll have a bunch of boiler plate code you’ll need, but a Google search will give you plenty of samples.


Clojure





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

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

Search: