I don't agree, mailgun provides simple API and there are many similar services. Even if the desire is to use Google or O365, it's possible to do so, including AWS SES.
Overall, it seems to be a minimal cost.
On top of that, this is talking about self-hosting, for which the delivery is not a concern at all, the target of the emails is "yourself" (can add filters to avoid things reported to spam)