Services are currently drop POP3 support. Gmail and Microsoft among them. I would consider it obsolete.
IMAP is very much alive but has so many pain points that JMAP was created to replace it, along with CardDAV and CalDAV for calendar and contacts.
Fastmail created and uses JMAP and Stalwart has first-class support for it.



See JMAP Destroy All Monsters by the protocol author for an intro.
JMAP Destroy All Monsters