After some discussion in Slack, it sounds like the best way to solve this might just be abandoning Geary's custom IMAP engine and using Evolution Data Server.
After some discussion in Slack, it sounds like the best way to solve this might just be abandoning Geary's custom IMAP engine and using Evolution Data Server.