I've been running my own selfhosted mail server setup for about six years [1] without much trouble. It's a lot of work in the beginning, and there is a learning curve, but I've never experienced any of the issues lots of other people seem to have with their setups.
[1] https://jschumacher.info/2021/05/running-a-private-mail-serv...