This project allows to download available message history from Slack server. History is limited in free accounts so this way you can keep private archive of messages by running script everyday via cron. To make it work you need only a website token and a cookie. There is also a UI based on Flask and Vue.