OfflineIMAP
OfflineIMAP is software that downloads your email mailbox(es) as local Maildirs. OfflineIMAP will synchronize both sides via IMAP.
You need to add
```
[general]
accounts = Test
[Account Test]
localrepository = Local
remoterepository = Remote
[Repository Local]
type = Maildir
localfolders = ~/Test
[Repository Remote]
type = IMAP
remotehost = imap.gmail.com
remoteuser = XXX@gmail.com
remotepass = XXX
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
```
to
/home/multipass/snap/test-offlineimap-andyb/x1/.offlineimaprc