added ememail sendin prototype, PEP code fixes