Last time I was working on a MUA (which was admittedly a long time ago), within about 3 days I ended up submitting a patch upstream for Ruby's Net::IMAP. It's a fiddly protocol, and there's a lot of ways to get things wrong.
I, too, am quite excited about JMAP, although I have my doubts about ever trying to write an MUA ever again.
I, too, am quite excited about JMAP, although I have my doubts about ever trying to write an MUA ever again.