It takes fair bit of maintenance. You’ll also have to consider the fact that ESPs don’t like amateur self hosted mail so You’ll have to keep a check on delivery. My mailservers are now in a good reputation with outlook, gmail and yahoo so I use that to send my discourse mails as well.
You’ll have to check for a VPS provider with strict antispam policy as well to make sure that you get a clean subnet on a clean ASN. I use hetzner and it hasn’t given me any problems so far.