added example for emailing