#6165: use portal properties for storing HR email address
add psycopg2 to dependencies
add sql scripts for creating postgres or sqlite tables
don't hardcode db connection string, get it from the environment