function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Mrityunjaya VashishthaMrityunjaya Vashishtha 

How to set password protected Email Encryption by using Email Triggers in Apex/Flow

Hi Salesforce Folks,

I would like to know if there is a functionality using which we can encrypt the flow/apex generated Email triggers
When user opens the Email which is sent by salesforce, a pop-up asking for pasword shold be visible and end user can have access to the email data only if he has that password.

I have tried the following approaches so far:
1.  Crypto class in apex like encrypting and decrypting the information but here we have to use either third-party application or any methods to decrypt blobs which are encrypted using this method  (Can not use Third Party in our requirement).

2. Sheild platform encryption to encrypt the fields like by creating tenant secret, giving permissions to manage encrypted keys and selecting our encrypt fields in encryption policy but unfortunately it was also getting an error.

Kindly help.
Mrityunjaya