return num_sent
Merge pull request #1 from KG1898/develop

return num_sent
More flexible settings and integration with email logger
fix email logging
log all should be false