As noted a couple of years back: dwyl/contact#8 swoosh already had all the features we needed for basic email sending. What it lacked was deliverability tracking. Which was why I didn't use it at the time.
But now that swoosh is included by default in Phoenix 1.6.x it's the "defacto".
That is simultaneously an annoying thing - because there's lots of @dependabot noise https://github.com/search?q=org%3Adwyl+swoosh&type=issues ... - and a really good thing because the decision is made. ✅
So the question is: should email be separate from auth?
Or are we fragmenting our backend too much by making them separate apps? 🤷♂️
My original reasoning for making the auth and email apps separate
was so that anyone working on auth didn't have to think about email.
But ... given that swoosh is included in Phoenix by default
(i.e. you have to manually exclude it with --no-email flag)
what is the advantage to keeping them separate? 💭
As noted a couple of years back: dwyl/contact#8
swooshalready had all the features we needed for basic email sending. What it lacked was deliverability tracking. Which was why I didn't use it at the time.But now that
swooshis included bydefaultinPhoenix 1.6.xit's the "defacto".That is simultaneously an annoying thing - because there's lots of @dependabot noise https://github.com/search?q=org%3Adwyl+swoosh&type=issues ... - and a really good thing because the decision is made. ✅
So the question is: should
emailbe separate fromauth?Or are we fragmenting our backend too much by making them separate apps? 🤷♂️
My original reasoning for making the
authandemailapps separatewas so that anyone working on
authdidn't have to think aboutemail.But ... given that
swooshis included inPhoenixbydefault(i.e. you have to manually exclude it with
--no-emailflag)what is the advantage to keeping them separate? 💭