Thanks @danilvoe for the response,
You're welcome to use the software per the open source license in the source code, just two things to keep in mind:
Per the trademark guidelines when you're offering a fork for use by others, please remove Mattermost branding (name and logos). This is standard in open source.
We'd encourage you to merge in security updates as they're released.