when I try to enable email notification from advanced settings i could not find it and i search about this problem and i find some powershell script to enable it but it's not working can you give me any advice here is the powershell script
$site=Get-SPSite "http://sharepoint2013/"
$web=$site.OpenWeb()
$list=$web.Lists.TryGetList("Tasks")
if($list -ne $null)
{
$list.EnableAssignToEmail =$true
$list.Update()
}