Fix mail subject encoding

https://community.oracle.com/thread/1589504?start=0&tstart=0
Merge pull request #291 from stevenschlansker/email-encoding-fix

Fix mail subject encoding