Is there a way to use the soap interface or command line to add/configure IMAP accounts? I need to be able to fully manage accounts from an external system through an automated sync. If there is a command line way, I could wrap a shell service around it or something. Any ideas are appreciated.