config setprop sogod IMAPLoginFieldName mail
signal-event nethserver-sogo-update
After that you need to set the AD mail property for the user-accounts, else it will not work. Shared mailboxes remain an issue in this scenario. This will only work with an AD as account provider afaik.