XWIKI-11541: Transform Mail features into an extension
* Don't fail to get the configured port even when Mail.MailConfig doesn't exist.