added emailing features