As it stands, we're doing a little too much in one place. I think everything that sends an email and is not entirely registration-process-specific could be pulled out into a new /email endpoint. This would help make the code base more manageable by:
Pulling out some models stuff into a separate file
Separating most of the email sending logic and API endpoints from the registration stuff
As it stands, we're doing a little too much in one place. I think everything that sends an email and is not entirely registration-process-specific could be pulled out into a new
/email
endpoint. This would help make the code base more manageable by:models
stuff into a separate file