Move dependency on email closer to use.  Add logging
More logging
Logging.
Fix email hashing bug.
Fix email typo.