As I mentioned, I initially hacked together some code as a proof-of-concept.
I’ve cleaned up the code a bit, and have made it available on Github: https://github.com/gsherman/raplet
The code is freely available, although it does use the Dovetail SDK, so you do need an SDK license key.
I totally dig this integration. It’s not uncommon that I exchange emails directly with customers, and having additional case information right there in context is pretty sweet.
Hope you find this useful.