Tasks
notify_ip
Function that prepares the data to be sent in the login notification email. Through it, the user is indicated that the session has been started using a specific device and IP.
send_notify_ip
function that is responsible for sending the login notification 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.