fixed migration for email noticfication