Server-managed
The server holds the key.
OpenPGP is in the open-source core; S/MIME, HSM-backed identities and enterprise policy extend it. Mail is protected in storage and transit, and the webmail reader can decrypt it.
The server can decrypt server-managed mail. This is protected mail, not end-to-end encryption.