Domain did not encrypt this message

Nextcloud 21.0.3. We only use it for external file sharing with password and expiration. When a file is shared via Email (using File Sharing 1.13.1 app and Share by mail 1.11.0 app). When the mail arrives to the external client (Gmail), the header shows the following error: did not encrypt this message”

How do I encrypt outgoing messages?