adding emailing feature