Modest does provide support for maildir. My understanding of offlineIMAP is that it is a mail server program as well as a client. The changes to modest that were implemented would allow modest to be used as a client for that program.