Add Your Own Voice to Salesforce Boilerplate Identity Verification Emails
Where: This feature is available in all communities accessed through Lightning Experience, Salesforce Classic, and all versions of the mobile app. Communities are available in Enterprise, Performance, Unlimited, and Developer editions.
How: Salesforce provides the One-Time Password email template for communities to handle identity verification. You can use it as is or make it your own. Enable the One-Time Password email template from the Emails page of the Administration Workspace.
Then you can customize the template, which you can find on the Classic Email Templates page in Setup. Click Edit next to Communities: One-Time Password Email, and use the available merge fields listed at the top of the page to personalize your content.
You can also customize the email template through the API using the verificationTemplate field on the API Network object.
You can create your own custom OTP email template in Visualforce and use the $Network object.