@rakoo @dalias @ptrc @ska @navi @lispi314 Except emails are large immutable data where only few headers (some which added by your mail server) need indexing.
And then good luck having a db-structure which accounts for MIME so you don't end up with your queries returning whole emails (potentially several megabytes) instead of just the main text (usually few kilobytes). Something which filesystems don't really have a problem with as the MUA can use the Content-Length header + read(2) whenever present.