change mailconfirm to emailNotification;