Mail - Added hostname to settings before locking

Added settings.hostname before locking settings, the class may need a comment explaining when is settings.hostname needed
Merge pull request #82 from leonelcamara/patch-1

Mail - Added hostname to settings before locking