mail alert bug fixed