refactor getIdForEmail into another method to be used by other modules
using new tool for callWithConnection
Merge pull request #45 from my-koop/mike_refactor_id_email

refactor getIdForEmail into another method to be used by other modules