added basic support for sending an email
updated readme
updated readme
added check for mandatory properties
added null reference guard