If content module you're trying to delete doesn't exist, return a 404 not found.
Fixed emails so it will properly record the sent event