You didn't mention the make of the phone but here [1] is how to disable automatic QR code scanning on a Samsung. Here [2] are more generic options.
Some things that could be done to reduce risk, depending on how much friction one is open to would be:
- Do not open emails from anyone you do not know, no matter how official or interesting the email title is. low friction
- Alternately, open the email later on a locked down and hardened PC using Thunderbird with remote html/javascript disabled and then scan links in VirusTotal [3] and UrlScan [4] accepting that these sites will not catch everything.
- Disable javascript in the mobile browsers and only enable it for sites one has a binding contract with and/or know where the site operators sit. Firefox + uBlock are a decent browser and addon for this. In uBlock settings -> Filter settings -> enable all 3 Malware lists. one-time high friction per trusted site or adding sites to uBlock to trust
- Disable automatic QR code scanning. Method varies by browser. medium friction
- Block attachments in email per account, or site wide if one hosts their own server. high friction
- If the email server supports this, convert or strip mime encoded content to plain text server-side. This applies to people hosting their own mail server. low friction for a postmaster [5]
[1] - https://www.youtube.com/watch?v=LxdoC2sG1i4 [video]
[2] - https://www.qr-code-generator.com/guides/scan-qr-code-androi...
[3] - https://www.virustotal.com/old-browsers/
[4] - https://urlscan.io/
[5] - https://mimedefang.org/documentation/