XWIKI-11541: Transform Mail features into an extension
* Fix functional test