It should do that by default, if you've set an admin email address. If not, check Admin - Configuration - Email Options
Forum Rules