More work on Export View, it now sends an email with a file attached.