added emailtest and updated