Move some email functions from the teacheradmin.utils module to courses.utils so we remove circular dependencies