Add retry loop to delegate_email for getting CourseEmail