Cloudron provides full self-hosted email and associated DNS management as well as many other services: https://www.cloudron.io/