added emailing capability