updated email package to unexport client for mailer