Gravar-mail: Integrating Automated Patient Letter Generation into the Electronic Medical Record