Merge pull request #120 from iceydee/localDB

Fixed issue with email password in configuration not being honored
Merge pull request #121 from iceydee/localDB

Properly set the scope of the setupMail function