(feature) Welcome emails
-
Removed the old welcome email
-
Added new test functions to the email cli controller
-
Fixed a double refrrence in the v2 suggestions api. We were injecting it and then immediately constructing it
-
Added two emails Welcome Complete and Welcome incomplete
-
Set up a new WelcomeEmail event that checks a user's onboarding status and sends them the appropriate email
-
Made Onboarding module available for Dependency Injection
-
Added new isComplete function to onboarding that compares the onboarding steps to the ones a user has completed
-
Added a new WelcomeEmail queue runner that will kick off the WelcomeEmail event internally
-
Extended the SQS client to take a delay in seconds. If provided, it will delay the SQS by that many seconds. Note, this does not affect the redis queue.
-
Made the Suggestions manager not use a factory so it returns a new instance with each DI call
-
Unit tests for the new emails
-
Added a new queue configuration to listen for Welcome Emails