In brief
- GDPR does not forbid e-mail. It requires security appropriate to the risk, and with health data the risk is high.
- Encrypted transport between mail servers protects a message only on its way, and not in every case. Encrypt the attachment itself.
- The password belongs in a different channel than the file.
- A service that processes the document on its own server is a processor. Editing in the browser does not raise that question.
Which law this article refers to
This article refers to European Union law: the General Data Protection Regulation (GDPR), which applies in the EU and the EEA. Each member state adds its own rules on health records, and they are not covered here. Outside the EU other laws apply, for example HIPAA in the United States or the UK GDPR in the United Kingdom, so check the rules of your own country before you rely on this text.
This article is general information, not legal advice. For your own situation, ask your data protection officer or a lawyer.
Data protection laws in other countries
- European Union and EEA
- General Data Protection Regulation (GDPR)
- United States
- No single federal law: state laws, such as the CCPA/CPRA in California, and sector laws, such as HIPAA in healthcare
- Brazil
- General Data Protection Law (LGPD)
- China
- Personal Information Protection Law (PIPL)
- Japan
- Act on the Protection of Personal Information (APPI)
- Russia
- Federal Law No. 152-FZ on Personal Data
For orientation only: the list is not complete, and the laws change.
Is e-mail an acceptable channel?
From the point of view of GDPR, a request for a copy of a medical report is the exercise of the right of access. Article 15(3) obliges the controller to provide a copy of the personal data being processed. Where the data subject makes the request by electronic means, the information is provided in a commonly used electronic form, unless they ask otherwise. The time limit under Article 12(3) is one month. For complex or numerous requests it can be extended by two further months, but the patient must be told about the extension and its reasons within the first month.
The first copy is free of charge. The Court of Justice of the EU confirmed this for medical records in its judgment of 26 October 2023 in case C-307/22 (FT v DW): the patient does not have to give reasons for the request, and a reasonable fee based on administrative costs may be charged only for further copies (Articles 12(5) and 15(3)).
The Regulation does not prescribe a particular channel. Article 32 requires measures appropriate to the risk and takes into account the nature of the data, the state of the art and the cost. A medical report contains data concerning health, a special category under Article 9. Protection that would be enough for an order confirmation is not enough here.
National law on health records may add conditions on who can receive a copy and in what form. Settle that question first; encryption comes after it.
Where data leaks in practice
When assessing the risk, it helps to split the document's journey into three stages. Each has its own weak point and its own remedy.
Editing before sending
The report has to be made smaller, rotated or cut down to a few pages. If an online service that processes files on its own server does the job, a copy now exists outside the practice. The operator of such a service is a processor under Article 28, and patient data cannot be entrusted to it without a contract. With services based outside the EU, the question of a transfer to a third country is added.
Transport and the mailbox
Mail servers usually talk to each other over an encrypted connection (TLS), but that protection ends at delivery. In the recipient's mailbox the message is readable by anyone who gets into it, and the same is true of your own Sent folder. The transport encryption itself is mostly opportunistic, too: if the other server does not offer it, or an attacker on the route suppresses it, the message travels unencrypted.
Human error
A typo in the address, or autocomplete offering the wrong recipient. The European Data Protection Board lists misdirected mail among the typical cases of a personal data breach (Guidelines 01/2021).
The procedure in six steps
Verify the requester and the address
Only the data subject, or someone entitled to act for them, may receive the copy. Where there are reasonable doubts, Article 12(6) allows you to ask for additional information. Send the report to the address the patient gave in person or that is in their file, not automatically to the address the request came from.
Limit the content to what was requested
The principle of data minimisation (Article 5(1)(c)) applies to attachments too. From a longer file, pick the specific pages.
Tool: Split PDF and extract pages
Remove the document properties and hidden content
A PDF carries document properties (author, title, software used), comments and sometimes embedded files. The recipient does not normally see them, yet they are part of what you send. The Remove hidden data tool clears the document properties and, if you choose, attached files, scripts and links as well. It does not delete comments on the pages: delete them beforehand in the program the document was made in.
Tool: Remove hidden data
Encrypt the file with a password to open it
Use AES-256 encryption and a password required to open the document. A password that only restricts printing or editing does not protect the content. The strength of the cipher depends on the password, because anyone who obtains the file can try passwords without any limit on the number of attempts: choose five or six random words, or at least 14 randomly chosen characters, never a birth date or an ID number. The file name and the subject of the e-mail are not encrypted, so keep the name and the diagnosis out of them.
Tool: Password-protect a PDF
Hand over the password through another channel
By phone or by text message to the number in the patient's file. Whoever takes over the mailbox then holds only a file they cannot open.
Make a record
The principle of accountability (Article 5(2)) means you must be able to demonstrate compliance. Note the date, the recipient's address, the scope of the data provided and how the password was handed over.
What each measure covers, and what it does not
No single measure is enough. The table shows why they are combined.
| Measure | Protects against | Does not protect against |
|---|---|---|
| Encrypted transport (TLS) | as a rule, interception on the way between servers | access to the mailbox, forwarding of the message |
| PDF encrypted with AES-256 | reading without the password, also after forwarding or a wrong address | a weak password, a password in the same e-mail |
| Password through another channel | a compromised mailbox | an unverified phone number |
| Editing in the browser | a copy of the document held by a third party | mistakes in the other steps |
If the report reaches the wrong recipient
Sending the report to a wrong address is a personal data breach. Article 33 requires the controller to notify the supervisory authority without undue delay and, where feasible, within 72 hours. The exception is a breach that is unlikely to result in a risk to the rights and freedoms of natural persons.
This is where encryption pays off a second time. If the file was encrypted and the password stayed safe, the data is unintelligible to the wrong recipient. Under Article 34(3)(a) the data subject then need not be informed, and the assessment of the risk changes considerably. Document the incident all the same.
Why it matters where the file is edited
Steps 2 to 4 need a tool. For GDPR, what counts is where the document is while it is being edited. A service that receives it on its server processes personal data on your behalf, with everything that follows: a contract under Article 28, a check of the guarantees it offers, and possibly an assessment of a transfer outside the EU.
A tool that runs directly in the browser opens the document in the memory of your device and sends it nowhere. Its operator never gets to the content. Vellumed is built this way. The claim can be checked: in the developer tools of the browser, the Network tab shows every request the page sends while you edit.
Related article: Data processing agreements for online tools: when you need one
Encrypt a PDF without uploading it
AES-256 encryption runs in your browser. The document does not leave the device.
Questions and answers
Is it enough that the patient agrees to an unencrypted e-mail?
If they asked for e-mail, they chose the channel themselves. That does not lift the duty to secure the data under Article 32, but supervisory authorities differ on the details. The German Data Protection Conference (DSK) held in its resolution of 24 November 2021 that security measures cannot be waived by consent. It accepts only that a controller may, in a documented individual case and at the explicit wish of an informed person made on their own initiative, leave out certain measures towards that person to a reasonable extent. The Austrian authority did not accept a consent to unencrypted sending that a clinic collected from its patients (decision of 16 November 2018, DSB-D213.692/0001-DSB/2018). The safer course is to encrypt the attachment in every case and to check the position of your own authority.
Our mail server encrypts the transport. Is that not enough?
No. Transport encryption protects the message between servers, not in the recipient's mailbox and not after it is forwarded. An attachment with health data should be encrypted in its own right.
Can we use a ZIP archive with a password?
It depends on the encryption. The original protection of the ZIP format is weak and can be broken. Archives encrypted with AES-256 are safe, but not every system opens them without extra software. An encrypted PDF opens in an ordinary PDF reader.
What if the patient forgets the password?
Hand it over again through the same separate channel. Do not write it in a reply to the e-mail.
Sources and legislation
- Regulation (EU) 2016/679 (GDPR), Articles 5, 9, 12, 15, 28, 32, 33 and 34
- European Data Protection Board: Guidelines 01/2021 on Examples regarding Personal Data Breach Notification
- Court of Justice of the European Union, judgment of 26 October 2023, C-307/22, FT v DW (copies of medical records)
- Datenschutzkonferenz (Germany): resolution of 24 November 2021 on not applying technical and organisational measures under Article 32 GDPR at the explicit wish of data subjects
- Datenschutzbehörde (Austria): decision of 16 November 2018, DSB-D213.692/0001-DSB/2018
This article is general information, not legal advice. For your own situation, ask your data protection officer or a lawyer.