Detour is a utility for writing tests against a real SMTP server.
Rather than mocking/stubbing your SMTP client Detour allows you to send all email to an in-memory relay. Detour provides assertions that can be used to until test the deliverability of your emails.
Detour was inspired by Bypass. Kudos to that team.
I can only answer for my team but we created this out of need. I imagine SMTP is a popular way of sending email considering it’s a standard and works across vendors. SMTP was around long before Mailgun, Sendgrid, etc.
Having said that I don’t really know though. I only know what we need.