Support for emailing documents