Would it be better to send the email from the delete_video task? It would only send the email after it was actually deleted, and it would get the SMTP connection out of the request/response cycle.