Fix bug and implemented new feature to use Gmail smtp

Fix bug to read boolean properties and create 2 new properties to use Gmail smtp