---
schema_version: "1"
id: 30d4312ca1143768ec2422df705a4a4245b59c06c4bdaf7820ff1de46b44aaa6
title: Configure Email-to-Case
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/customizesupport_email_to_case_settings.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.customizesupport_email_to_case_settings.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: c28d89208fbc0bb71ea7ea1e41202e651502fdae9d5b107367ca60833b163c67
description: Configure your Email-to-Case settings to customize how Salesforce handles and creates cases from incoming emails. If you set up Email-to-Case in Salesforce Go, some of these settings may already be configured.
products:
  - Service Cloud
  - Digital Engagement
release: "264"
---
# Configure Email-to-Case

Configure your Email-to-Case settings to customize how Salesforce handles and creates cases from incoming emails. If you set up Email-to-Case in Salesforce Go, some of these settings may already be configured.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col style="width:100%"></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;"><a href="https://help.salesforce.com/s/articleView?id=service.customizesupport_email_editions.htm&amp;release=264.0.0&amp;type=5" title="Learn about the Salesforce editions and user interfaces that support Email-to-Case.">View supported editions</a>.</td></tr></tbody></table>

To access these settings, from Setup, enter Email-to-Case in the Quick Find box, then select **Email-to-Case**. In most cases, we recommend that you select all of the settings.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support_channels-264-0-0-production-enus/f3c4b3d2-ff86-4f7c-9fe2-3d8b23d35109/images/icon_note.png)

Note Salesforce is transitioning to Lightning threading, a secure method that combines header and token-based threading. Ref ID threading is in maintenance-only mode. We strongly recommend that you enable the Disable Ref ID and Switch to Lightning Threading release update. For help, see [Update to Lightning Threading for Email-to-Case](https://help.salesforce.com/s/articleView?id=service.customizesupport_email_thread_update.htm&release=264.0.0&type=5 "Lightning threading is a secure method used by Email-to-Case to associate emails with related cases. To switch to Lightning threading from Ref ID threading, you’ll enable a release update, update your Email-to-Case settings, and update any email templates and custom code that rely on older threading methods.").

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:33.33333333333333%">
          <col style="width:66.66666666666666%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d40310e83">Setting</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d40310e86">Description</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Setting" class="slds-cell-wrap" style="vertical-align:top;" headers="d40310e83 ">
              <samp class="parmname">Enable Email-to-Case</samp>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d40310e86 ">Let Salesforce create cases from inbound emails.</td>

          </tr>
          <tr class="">
            <td data-label="Setting" class="slds-cell-wrap" style="vertical-align:top;" headers="d40310e83 ">
              <samp class="parmname">Notify case owners on new email</samp>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d40310e86 ">Let case owners automatically receive notifications of new emails on their
              existing cases. Email notifications assign a task to the case owner to respond to
              the new email. Responding to the email closes the task. To disable email
              notifications at any time, deselect this setting.</td>

          </tr>
          <tr class="">
            <td data-label="Setting" class="slds-cell-wrap" style="vertical-align:top;" headers="d40310e83 ">
              <samp class="parmname">Enable HTML email</samp>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d40310e86 ">
              <p>Display emails in HTML in the case feed view and email editor. If this setting
                isn’t selected:</p>
              <ul>
                <li>Service reps see emails in the case feed in text format.</li>

                <li>When reps reply to an email, the message is copied to the email editor as text
                  instead of HTML.</li>

              </ul>
              <p style="margin-bottom:0;">Use this setting for email feeds in Lightning, Lightning console apps, or
                Salesforce Classic console apps. It doesn’t apply to email feeds in Salesforce
                Classic.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Setting" class="slds-cell-wrap" style="vertical-align:top;" headers="d40310e83 ">
              <samp class="parmname">Set case source to email </samp>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d40310e86 ">Sets the Case Source field on Case records generated by Email-to-Case to the ID
              of the associated inbound email message.</td>

          </tr>
          <tr class="">
            <td data-label="Setting" class="slds-cell-wrap" style="vertical-align:top;" headers="d40310e83 ">
              <samp class="parmname">Save Email-to-Case attachments as Salesforce files</samp>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d40310e86 ">
              <p>Automatically convert attachments from inbound Email-to-Case messages into
                Salesforce Files.</p>
              <p style="margin-bottom:0;">Salesforce files created from Email-to-Case attachment
                conversions don’t inherit sharing settings from the parent record. By default,
                file sharing settings are set to Viewer. Viewers can view, download, and share
                files. The Attachments related list shows both attachments and files.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Setting" class="slds-cell-wrap" style="vertical-align:top;" headers="d40310e83 ">
              <samp class="parmname">Eliminate duplicate email attachments</samp>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d40310e86 ">
              <p>Applies to inbound emails, and applies only when attachments are saved as
                Salesforce files. To conserve storage, this option prevents Email-to-Case from
                creating an additional Salesforce file when an attachment is already saved in the
                email thread. Instead of creating another Salesforce file, Email-to-Case includes
                a link that points to the original attachment.</p>
              <p>Selecting this option changes the behavior in Case Files and Attachments related
                lists to show only one <samp class="parmname"> ContentDocumentLink </samp> for each unique
                attachment.</p>
              <p style="margin-bottom:0;">Some email clients create links rather than attachments for signatures. </p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Setting" class="slds-cell-wrap" style="vertical-align:top;" headers="d40310e83 ">
              <samp class="parmname">Notify senders about Email-to-Case processing errors</samp>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d40310e86 ">
              <p>Notify email senders when there’s an error during Email-to-Case
                processing.</p>
              <p style="margin-bottom:0;">If end users and administrators both receive a notification and
                attempt to re-send the email, duplication issues may occur.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Setting" class="slds-cell-wrap" style="vertical-align:top;" headers="d40310e83 ">
              <samp class="parmname">Invoke triggers on status change from New to Read</samp>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d40310e86 ">Invoke triggers when service reps open an email via the email detail page. A
              status change invokes related triggers regardless of the <samp class="parmname">Enable
                Unread/Read on Compact Case Feed</samp> setting in Support Settings. This
              setting doesn't apply to&nbsp;Experience Cloud portal users or to emails opened in
              read-only mode. This setting applies only to email detail pages; viewing email feed
              items always invokes triggers. When emails are loaded by a customization, they may
              not be marked as read.</td>

          </tr>
          <tr class="">
            <td data-label="Setting" class="slds-cell-wrap" style="vertical-align:top;" headers="d40310e83 ">
              <samp class="parmname">Reply with new content only</samp>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d40310e86 ">
              <p>Exclude previous thread content in email replies. This setting reduces the size
                of outgoing emails and makes it less likely that responses exceed the email size
                limit. </p>
              <p style="margin-bottom:0;">This setting overrides the <strong class="uicontrol">Insert email threading token in
                  email body</strong> settings. If a Ref ID or Lighting threading token is
                found in the email being replied to, it's placed in the reply.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Setting" class="slds-cell-wrap" style="vertical-align:top;" headers="d40310e83 ">
              <samp class="parmname">Send emails via external services</samp>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d40310e86 ">
              <p>Send outbound emails from Email-to-Case using a Gmail or Outlook account
                instead of Salesforce email services. You can set up external outbound email
                services in Lightning Experience only.</p>
              <p>When you configure the routing address,
                under Outbound Service Settings, select Gmail or Outlook as the external email
                service and connect to your email account. After this connection is authenticated,
                Email-to-Case can reply to emails sent to that routing address through your Gmail
                or Outlook server.</p>
              <p>When you authenticate your connections to Google or
                Microsoft, Salesforce uses the OAuth 2.0 protocol to get tokens from the Google or
                Microsoft authorization server. That’s when necessary permissions (such as
                <samp class="parmname">sendEmail</samp>) are granted and tokens are securely stored.
                Later, the tokens are used to call Microsoft Graph API and Gmail API to send the
                email.
              </p>
              <p>You can manage the Salesforce app in apps connected to Microsoft or
                Google. If you delete the Salesforce app or revoke granted permissions, the token
                Salesforce stored is invalidated.</p>
              <p>Email-to-Case OAuth connections depend on
                the external email provider's token policies. Because these tokens expire
                periodically, the connection can become invalid. To restore the connection,
                disconnect and reconnect the integration. </p>
              <p style="margin-bottom:0;">This setting is available in
                Professional, Enterprise, Unlimited, and Developer editions only.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Setting" class="slds-cell-wrap" style="vertical-align:top;" headers="d40310e83 ">
              <p><samp class="parmname">Insert email threading token in email subject</samp> (Recommended) </p>
              <p>OR </p>
              <p style="margin-bottom:0;"><samp class="parmname">Insert email threading token in email body</samp> (Recommended)
              </p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d40310e86 ">
              <p>Add an email threading token to the email subject, email body, or both. In
                Lightning threading, these tokens are unique strings that help Email-to-Case match
                emails to the right cases. While similar to Ref ID strings, threading tokens are
                generated in a way that meets Salesforce security standards. We recommend
                selecting both settings. In orgs created in Spring '23 or later, these settings
                are on by default.</p>
              <p style="margin-bottom:0;">If you don’t see these settings, you’re using an outdated threading method called Ref ID
                threading. We strongly recommend that you <a href="https://help.salesforce.com/s/articleView?id=service.customizesupport_email_thread_update.htm&amp;release=264.0.0&amp;type=5" title="Lightning threading is a secure method used by Email-to-Case to associate emails with related cases. To switch to Lightning threading from Ref ID threading, you’ll enable a release update, update your Email-to-Case settings, and update any email templates and custom code that rely on older threading methods.">switch to
                  Lightning threading</a>, which combines header-based and token-based
                threading.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Setting" class="slds-cell-wrap" style="vertical-align:top;" headers="d40310e83 ">
              <p>
                <samp class="parmname">Insert thread ID in the email subject</samp>
              </p>
              <p>OR </p>
              <p style="margin-bottom:0;">
                <samp class="parmname">Insert thread ID in the email body </samp>
              </p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d40310e86 ">
              <p>Add a thread ID, known as a Ref ID, to the email subject, email body, or
                both. A Ref ID is a unique number that identifies the organization and case
                associated with the outgoing email.</p>
              <p style="margin-bottom:0;">If you see these settings, you’re using
                an outdated threading method called Ref ID threading. We strongly recommend that
                you <a href="https://help.salesforce.com/s/articleView?id=service.customizesupport_email_thread_update.htm&amp;release=264.0.0&amp;type=5" title="Lightning threading is a secure method used by Email-to-Case to associate emails with related cases. To switch to Lightning threading from Ref ID threading, you’ll enable a release update, update your Email-to-Case settings, and update any email templates and custom code that rely on older threading methods.">switch to Lightning
                  threading</a>, a more secure option that combines header-based and
                token-based threading. </p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Setting" class="slds-cell-wrap" style="vertical-align:top;" headers="d40310e83 ">
              <samp class="parmname">Place user signatures before email threads</samp>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d40310e86 ">Add the user signature after the reply, but before the email thread. If this
              setting isn’t selected, the user signature is placed at the bottom of the email
              thread.</td>

          </tr>
          <tr class="">
            <td data-label="Setting" class="slds-cell-wrap" style="vertical-align:top;" headers="d40310e83 ">
              <samp class="parmname">Enable on-demand service</samp>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d40310e86 ">
              <p>Allow Salesforce to process your incoming emails. Select this option unless
                you’re using a custom solution to keep email traffic inside your network’s firewall.
              </p>
              <p style="margin-bottom:0;">Previously, Email-to-Case relied on an installed agent instead of the on-demand
                service. The older version is no longer supported, and the agent isn’t available
                for download.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Setting" class="slds-cell-wrap" style="vertical-align:top;" headers="d40310e83 ">
              <samp class="parmname">Over email rate limit action</samp>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d40310e86 ">
              <p>Choose what Email-to-Case does with emails that surpass your organization’s
                daily email processing limit:</p>
              <ul>
                <li>Bounce message—The email service returns the message to the sender or to the
                  Automated Case User, with a notification that explains why the message was
                  rejected.</li>
                <li>Discard message—The email service deletes the message without notifying the
                  sender.</li>
                <li>Requeue message—The email service queues the message for processing in the
                  next 24 hours. If the message isn’t processed within 24 hours, the email service
                  returns the message to the sender with a notification that explains why the
                  message was rejected. </li>
              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="Setting" class="slds-cell-wrap" style="vertical-align:top;" headers="d40310e83 ">
              <samp class="parmname">Unauthorized sender action</samp>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d40310e86 ">
              <p>If you limited the email addresses and domains available for Email-to-Case in
                the Accept Email From field, choose what happens to messages received from senders
                who are blocked:</p>
              <ul>
                <li>Bounce message—The email service returns the message to the sender or to the
                  Automated Case User, with a notification that explains why the message was
                  rejected.</li>
                <li>Discard message—The email service deletes the message without notifying the
                  sender. </li>
              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="Setting" class="slds-cell-wrap" style="vertical-align:top;" headers="d40310e83 "><samp class="parmname">Use email headers for threading</samp> (Recommended)</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d40310e86 ">Salesforce uses metadata from incoming emails to match email replies with cases
              if token-based threading doesn't produce a match. We recommend turning this
              preference on, so Salesforce can thread emails to cases even when a threading token
              isn’t found in the email. For instance, this is useful when senders follow up before
              Salesforce sends a reply. </td>

          </tr>
        </tbody>
      </table>

- **[Default Salesforce Go Settings for Email-to-Case](https://help.salesforce.com/s/articleView?id=service.customizesupport_email_to_case_default_settings.htm&release=264.0.0&type=5)**  
    To quickly start using Email-to-Case, we recommend turning it on in Salesforce Go. When you turn on Email-to-Case in Salesforce Go, these settings become active.

#### See Also

- [Customize Support Settings](https://help.salesforce.com/s/articleView?id=service.customize_supportrules.htm&type=5&language=en_US)
- [Assign an Omni-Channel Flow to Route Cases from Email-to-Case](https://help.salesforce.com/s/articleView?id=service.omnichannel_route_email_to_case.htm&type=5&language=en_US)