I'm doing the something very similar in dotProject. Actually, I'm modifying dotProject in to a more production oriented Project Management Application. I've started stubbing out the web site at
www.erpae.com.
Zimlet
I have a running zimlet that allows a user to drag and drop an email and a form pops up. They can put in the project number and any notes and it _Posts the form to a module in dotProject/Erpae called email. This allows the project manager to see all email associated with a project.
It also has primitive linking to clients in dotProject, so if you click on the clients module you can see all the email, sent from, or to that client.
Anyway, this module was hard to make and I still have one more task that I want to have the module do.
I'm going to post that problem on another thread called "Extracting Raw Email".
You can visit
www.erpae.com, it's very primitive at this point and I will be posting a working version and some videos on how it works. If you want to get involved, please let me know.