Customize Template Settings: Email
Configure default email subject, recipients, sender behavior, and sending guardrails for a quote Document Template.
Use this tutorial when you want one Document Template to generate a document with email defaults.
Reviewing expected results
After setup, one generated quote gives you:
A prefilled subject, such as
Quote for Renewal - Acme CorporationA default recipient pulled from the related record
A defined sender option for consistent outbound email
Optional restrictions that prevent editing or sending to the wrong domain
Use this configuration for quote, invoice, and renewal Document Templates you email often.
Choosing email settings
Use email settings when you need predictable email behavior from one Document Template.
Best for:
Quote Document Templates with a default subject and recipient
Invoice Document Templates that should send from one approved address
Contract Document Templates that need locked email content or domain limits
Use another feature when the problem is different:
Configure email settings for a quote Document Template
Configure These Settings
A default email subject
Default email recipients
Sender behavior for outbound email
Optional sending restrictions
Estimated time: 15 minutes
Meet Prerequisites
Before starting, make sure you have:
An existing S-Docs Document Template
The Document Template's Related To Type set to
OpportunityPermission to edit S-Docs Document Templates
At least one Opportunity with an Account and a valid contact email for testing
Basic familiarity with Merge Field syntax
If you plan to use an org-wide sender address, make sure that address already exists in Salesforce.
Set the Default Subject
Use a subject pattern that tells the recipient what the email contains.
In Email Subject Settings, find Subject.
Enter this value:
Leave Lock Subject unchecked.
Leave Require subject line unchecked.
The email composer now opens with a prefilled subject.
Example output: Quote for Renewal - Acme Corporation
Set the Default Recipients
This prevents you from entering the same email addresses repeatedly.
Stay in Email Settings.
In Email Recipient Settings, find To.
Enter this value:
Leave Lock To unchecked.
Leave CC, BCC, and Reply To blank.
The email composer now pulls the main recipient from the related Opportunity account.
If the source field is blank, you can still enter an address manually.
Set the Sender Behavior
Choose whether the email should come from you or from one shared address.
In Email Sender Settings, find From.
Select one of these options:
Logged in user for personal sending
Your org-wide email address for shared sending
Leave Restrict to Org-Wide Addresses unchecked if you want flexibility.
Leave Enable user to choose/select from a picklist unchecked.
Enable Use Salesforce Email Signature if your team uses Salesforce signatures.
This defines who the email appears to come from and whether your signature is added.
Add Sending Guardrails
Use these options when you need tighter control over outbound email.
Scroll to Other Email Settings.
In Email domain restriction, enter approved domains if needed.
Enable Lock Body to prevent email-message edits.
Enable Lock Subject if the subject must stay fixed.
These settings help keep email content consistent and reduce sending mistakes.
Save and Test the Email Flow
Click Save.
Open a test Opportunity.
Generate the document with your Document Template.
From the generated document, click Email.
Verify these values:
Subject is prefilled.
To is prefilled when source data exists.
From matches your selected sender option.
Domain restrictions behave as expected.
Send a test email.
You now have a Document Template that opens with consistent email settings.
After testing, confirm these results:
The subject follows your expected pattern.
The recipient field pulls the expected email address.
The sender option matches your team's process.
Locked or restricted fields behave as expected.
Applying guardrails and limits
Follow Merge Field Rules
Use single braces in settings tabs.
If you mix syntax or casing, values can print as raw text or stay blank.
Configure Sender Behavior
Use an org-wide address only if it is already configured in Salesforce.
Expect sender choices to follow your org's available email address rules.
Configure Recipient Behavior
Check that the source email field contains real data before testing.
Leave
Tounlocked if users may need to correct or replace recipients.
Follow Testing Rules
Test with an Opportunity that has real account and email data.
Generate a fresh document after each email settings change.
Verify subject, recipients, sender, and restrictions every time.
If you skip testing, email issues can surface after live sends.
Last updated
Was this helpful?

