Email protocols have nothing to do with the organization of the email.
The idea of labels or tags in email was a concept introduced by GMail. To my knowledge no other email server or client has them implemented. RoundCube is an oft cited web based mail client for IMAP and POP email servers (the current standards for accessing received email of which GMail also uses). There is an open
RoundCube issue for labels or tags. You may wish to subscribe to that. I believe it's the closest you'll get to tags or labels outside of GMail currently. Postfix, Dovecot, and Roundcube are typically used together for a full featured self hosted email server.