Tasks

Tasks are functions that are executed eventually or periodically, as the case may be, that are not part of the primary flow of the application. Account app tasks are:

email_confirmation

Function that prepares the data to be sent in the confirmation email of the email address. Validates the type of Email Verification set in the EMAIL_VERIFICATION settings variable and acts accordingly.

send_email_confirmation

Function that is responsible for sending the confirmation email. Check if there is any email sending provider (example: Sendgrid) or not, to send the email. This is a task that is injected into Celery to run in the background.

email_password_reset

Function that prepares the data to be sent in the password reset email.

send_email_password_reset

Function that is responsible for sending the email for the password reset. Check if there is any email sending provider (example: Sendgrid) or not, to send the email. This is a task that is injected into Celery to run in the background.