Fixed the double quotes issue in buildMailProperties
Added space in the method parameters