I don't use the tool you mentioned above. but I can recommend graylog for this. For emails just use the Mailserver form proton or Google. Setting one up is a loot of work and even then gets probably banned by all major ones...
Docker isnt build to run these type of Programms. You should look into sandbox environments to test these apps.