I think the problem here is that this is a Gmail-specific, non-standard feature, meaning there is no specification that allows to implement this in a reliable, cross-client way.
However, Fastmail is working on something similar with JMAP.
I found this earlier HN comment to be really interesting: https://news.ycombinator.com/item?id=16372835