Hello Ruby/Rails/Merb developers!
Im currently working on a web project that will have a feature to communicate with clients by email. So, let`s say i created account for a customer in my admin panel, then created a topic/thread to discuss questions, tasks and other work-related stuff. So, the customer will receive email notification. Also customer will be able to log-in into the system and write responses within the system. But what im trying to do is: after customer responded to notification (which contains special identification code of message), i need to import that response into the thread. It makes communication between clients really convenient.
Also, the solution needs to operate with file attachments too.
The only one way i can do this right now is to develop special mail-checking daemon, that will be fetching mail from notifications account and automatically add data to central database. Probably, it is not a best idea.
I have seen such example in 37signals` BaseCamp software.
Question: What is the best practices do to this?