Rails, Advanced Email Processing

Hi, we got a project with extensive requirements to trigger events based on incoming emails on a rails platform. We need to reach each incoming email, parse it and trigger logic based on it. Has anyone ever worked on such a system?

1) Do you know any books / resources / etc which explicitly elaborate this topic? 2) Any pointers to what within rails should we work with? Any suggestions

Action Mailer seems to be not designed for something v extensive. Please advise

Hey. This isn't a terrible thing to undertake but there's not so much information available. I wrote a couple of blog posts about the subject of receiving email(Receiving Incoming Email in Rails 3 – choosing the right approach | Steve @ DynamicEdge) and testing (Receiving Test Driven Incoming Email for Rails 3 | Steve @ DynamicEdge) this. If you get things right you can split them over a couple of different Mailers if you need to.

If you need any more info just shout.