WIP: Add multiaccount support

WIP - will address https://github.com/owncloud/mail/issues/22