Re:Mailr: an open-source webmail client with Gmail-like conv...
by ams6110 on Sunday April 06, 2014 @05:56PM
(#7543228)
If it were me I might look at building somthing on top of notmuch. I use the emacs package for notmuch and it's awesome, it has search and tagging capabilities very similar to gmail and handles conversations nicely.
http://notmuchmail.org/