add email sending to video upload