The reason why we use Mailgun is to avoid deploying and maintaining e-mail infrastructure which is very hard and high cost. We would rather keep paying Mailgun about $20/mo as this is cheaper by several magnitudes than the self-hosting option.
> 20/mo as this is cheaper by several magnitudes than the self-hosting option.
exactly this, even the cheapest cloud instances cost around 100$/m, while some might be 20$/m it's just not worth the effort to host your own because it also needs management/maintenance if you do which translates in to hours of work. Yes you can automate these things but it simply not worth it when the only thing you want to do is sent mass emails, without even caring about anything besides configuration to connect to XYZ service.
Hmm... We use Sendgrid to do things like sending confirmation emails. We send a lot of them because we have a lot of customers (long may it continue ;-) ). That's what I was thinking when I read "mass emails". YMMV.