

Well my entire network doc is a 30ish lines .txt file that looks like this example:
- Hostname11 10.0.0.11 master db1
- Hostname12 10.0.0.12 db1 backup
- Hostname13 10.0.0.13 ui back end 1
- Hostname21 10.0.0.21 master db2
- Hostname22 10.0.0.22 db2 backup
- Hostname23 10.0.0.23 ui back end 2
Then some other general stuff on some other 10.0.1.x network etc
Once you take care assigning static blocks and it makes sense you don’t have any surprises. Db1 crashed? Lookup its config data, reinstall machine, recover from backup and nothing else needs to be configured.
Someone has to pay the bills, so they need to earn some money. If you ain’t paying you are the product is always a good metric, but in the email case the problem is also that a lot of the effort is manly IT admin rather than just the backend software.
You can roll your own dovecot and run your own emails at home in theory, in practice you need to be trusted by the major email providers to be able to send emails not tagged as malicious by anyone.
To protect their trusted status most providers collaborate on a lot of elements to be mutually sure they are not flooding each other with worthless spam. This is a lot of SPF, and other technical bullshit to be able to run a mail provider someone has to pay for
In case it is not clear: most use foss backend (dovecot or other), but this will not cover the whole software stack needed for an email provider