working email toggle for email notifications