Since we are now using Celery, we can move the email related code (essentially code that sends email) into tasks!
As @MelissaAutumn suggested here:
If CELERY_ENALBED=True then call email tasks with .delay() otherwise call it with the regular send_my_email()? (That way we don't break environments where celery doesn't exist yet.)
Since we are now using Celery, we can move the email related code (essentially code that sends email) into tasks!
As @MelissaAutumn suggested here: