adding pgEmail.py to create pgEmail class