vsync-0.3.1 is not a library.
vsync IMAP to maildir synchronization
Vsync is a small CLI wrapper around vomit-sync. It aims to provide access to all functions that vomit-sync offers. At the moment, this is only synchronizing from IMAP to a local maildir (not the other way). Vsync has to be run periodically to keep the two synchronized.
Configuration
Example configuration file:
[myaccount]
local = "~/.maildir"
remote = "imaps://imap.example.com:993"
user = "myusername"
pass-cmd = "pass show mail/myaccount"
# or use this:
#password = "s3cr34"