Test Class for email

Need some changes to work