Consult mailbox-template.xml in GIT to get some examples and hints.
Use this configuration to define the type of mailbox storage used to persist the user's mails.
Under maibox tag, define the provider.
See documentation page to learn more about the different back-ends and their capabilities.