[Provider] Add AutoSend as a built-in email provider #13479
sauropeerlist
started this conversation in
Ideas
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Goals
Non-Goals
Background
Auth.js supports email based sign in out of the box and already ships several HTTP email providers (Resend, Sendgrid, Postmark, Loops, Mailgun). Anyone using an email vendor that is not on that list has to wire up a custom provider by hand and reimplement the same flow, which is repetitive and easy to get wrong. AutoSend is a transactional and marketing email platform that works the same way as those existing providers, so it fits the pattern rather than needing anything new. There is no built-in AutoSend option today short of writing your own provider. Docs at docs.autosend.com.
Proposal
Add AutoSend as a named, built-in provider in @auth/core, following the same pattern as the other email providers. I've already implemented and tested it locally (request shape, full sign in flow with an adapter, and a real send), so I'm happy to contribute the PR.
All reactions