Plug security hole opened by the download of messages to be sent via email.