Created a class for sending emails