JSConf JP

JMAP: The Game Changer That Transformed Webmail Development

SessionTrack BJapanese

Traditionally, webmail development has relied on IMAP and SMTP. These protocols do not fit browser-native Web communication such as Fetch, XHR, or WebSocket, so they cannot be used directly by a browser. Webmail implementations therefore need server-side API layers, custom clients and parsers, making development difficult.

JMAP (JSON Meta Application Protocol), standardized through RFC 8620 and RFC 8621, is a JSON-based synchronization protocol for mail, calendars, and address books. It runs over HTTP and handles structured mail data efficiently. This session draws on practical experience from JMAP-based webmail development at Sakura Internet Research Center, covering WebSocket real-time synchronization, cache strategies and offline support with IndexedDB, and the integration of structured mail data with AI features.