Thanks for the mention! Happy to answer any questions.
Here's links to community resources: http://www.mattermost.org/
1) "GitLab Mattermost" is available under an MIT license as a compiled version of "Mattermost", and
2) the MIT license does not apply to the "Mattermost" source code
One note to add is that the standard version of Mattermost is Apache-AGPL similar to MongoDB. So any organization comfortable with MongoDB should be fine with Mattermost.
MongoDB and Mattermost have Apache for drivers, configuration and administration so you can use and deploy the binaries without restriction. If modifications are made to the core product, those are required to be shared with the open source community.
An interesting side effect is that if you were able to decompile that version, you could in theory have a MIT license to the Mattermost source, avoiding the AGPL.
In practical terms, you can take the Gitlab/Mattermost distribution and modify the Gitlab code without having to release your changes. But if you modify the Mattermost code, you need to release the changes you made to the Mattermost code.