Running your own mail server means your messages live on hardware you control, under policies you set, with no third party indexing the contents for ads or training data.
Stalwart gives you the full server to run anywhere you can run a Linux host, with the same flexibility you would get from a hosted provider and none of the lock-in.