---
schema_version: "1"
id: a499844f3d6a2afbc7ec4c29effa89d7196cb7ec9743c0501e3ab5e244a0fa00
title: Add Routing Addresses for 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_configuring_routing_addresses.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.customizesupport_configuring_routing_addresses.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: d31243b09cfea1619eecf105c5367e5a6ce08bb0408d42a3244c4b0e81348b87
description: Set and configure routing addresses to redirect case submissions to the email services address provided by Salesforce. A case is created when the email address you specify is listed in the To, CC, or BCC fields of a customer email.
products:
  - Service Cloud
  - Digital Engagement
release: "264"
---
# Add Routing Addresses for Email-to-Case

Set and configure routing addresses to redirect case submissions to the email services address provided by Salesforce. A case is created when the email address you specify is listed in the To, CC, or BCC fields of a customer email.

### 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>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d80914e64">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d80914e64 ">To configure routing addresses for Email-to-Case:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d80914e64 ">Customize Application</td>

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

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

Tip

To avoid a race condition that could route a case to the wrong destination or cause routing to fail, ensure that you don’t create conflicting routing procedures for cases created from emails.

Here are common automations that can conflict with the Omni-Channel flow that routes emails, which can be set up during Email-to-Case setup.

- **Routing work with EmailMessage record-triggered flows or Apex triggers**. If you run one of these automations and the Omni-Channel flow that routes emails, verify that the EmailMessage record-triggered flow or Apex trigger doesn’t route the first email in a thread by checking if the Case.SourceId matches EmailMessage.Id. If those fields match, don’t route with your record-triggered flow or Apex trigger–let the Omni-Channel flow route the case.
- **Route work with Case record-triggered flows or Apex triggers**. If you run one of these automations and the Omni-Channel flow that routes emails, verify that you exclude email cases from any Case automations that route cases when they are created.

## Step 1: Create Your Routing Address

First, create a routing address in Setup.

1. From Setup, enter Email-to-Case in the Quick Find box, then select **Email-to-Case**.
2. In the Routing Addresses list, click **New**.
3. Enter an existing email address at which your customers can reach your support team, and give it a name.
    
    In trial orgs, this name is set as your email address and can’t be edited. This address routes emails directly to Salesforce and convert them to cases.
4. Complete your routing address settings for cases converted from email. See the table at the end of this article for a definition of each setting.
5. Click **Save**.
    
    Salesforce sends a verification email to the routing email address that you entered.
6. To confirm a routing email address, log in to the inbox for that email address, look for a Salesforce verification email, and click the verification link in that email. Or, click **Verify** next to the routing address on the Email-to-Case Routing Address page.
    
    ![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 Only the person who initiated the verification process can verify the email address. If another user opens the email and clicks the verification link, verification fails.
    
    You can't use unverified routing addresses to send emails. Your routing address settings aren't applied to cases created by unverified routing addresses.

## Step 2: Configure Your Email System

Set up forwarding in your email system, and optionally, make changes to control routing and email access. Then, test and share your email address.

1. Return to the Email-to-Case page in Setup. In the Routing Addresses section, notice that Salesforce generated an _email services address_ for your routing address.
2. Configure your email system to forward case submissions to the email services address that Salesforce generated.
    
    For example, suppose you add _support@mycompany.com_ as a routing address. After it’s added, go to your email system’s settings and set up forwarding so all emails sent to _support@mycompany.com_ are forwarded to the auto-generated email services address. The steps you follow vary depending on your email provider. See these guidelines about forwarding and [setup recommendations for Microsoft Exchange.](https://help.salesforce.com/s/articleView?id=service.customizesupport_forwarding_guidelines.htm&type=5&language=en_US)
3. (Optional) If you’re using a Gmail or Outlook server instead of Salesforce email services for outbound email, specify the account under External Service and then connect to that account. Use the same email for the connection that you set for the routing address.
4. (Optional) [Set up an Omni-Channel flow](https://help.salesforce.com/s/articleView?id=service.omnichannel_route_email_to_case.htm&type=5&language=en_US) to route cases dynamically to the right destinations, such as queues or service reps.
5. (Optional) Enable Controlled by Permission Set if you would like to restrict access to this email routing address. If you select this option, only users who have access to this routing address via a permission set can use it to send email. You then have the option to specify these required permission sets.
6. Test your email routing address by manually sending an email to it. Verify that a case was created to track the email, and check that its default settings match the routing address settings.
7. After you add an email address as a routing address, share it with your customers. Customers can use this email address to submit cases to your support team.

## Step 3: Update the Email Action

Configure the From field on the Email action so all responses to customer emails are sent from your general customer support address by default. This configuration helps to preserve email threads. If service reps must, they can always choose a different “Sent From” email address. This step is optional but recommended.

1. From the Object Manager in Setup, select **Case**, then select **Buttons, Links, and Actions**.
2. Click **Email**.
3. In the Predefined Field Values section, click **New**.
4. Select the From field.
5. In the Specific Value field, select your company’s customer support address.
    
    To change the default sender address depending on the situation, customize the Email action and its predefined values per record type or page layout. For example, if cases originating from France use a particular case record type, configure the Email action for that record type so the From field defaults to your French support address.
6. Click **Save**.

## Routing Address Settings

Review guidance for completing routing address fields in Setup.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
          <colgroup>
            <col style="width:19.179651359170542%">
            <col style="width:80.82034864082945%">
          </colgroup>
          <thead class="slds-text-title_caps ">
            <tr class="">
              <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d80914e400">Setting</th>
              <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d80914e403">Description</th>
            </tr>
          </thead>
          <tbody>
            <tr class="">
              <td data-label="Setting" class="slds-cell-wrap" style="vertical-align:top;" headers="d80914e400 ">
                <samp class="parmname">Routing Name</samp>
              </td>

              <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d80914e403 ">The name for the routing address—for example, Gold Support or Standard
                Support. This name appears in the From field when a service rep emails a customer
                from this email address. In trial orgs, this name is set as your email address and
                can’t be edited.</td>

            </tr>
            <tr class="">
              <td data-label="Setting" class="slds-cell-wrap" style="vertical-align:top;" headers="d80914e400 ">
                <samp class="parmname">Email Address</samp>
              </td>

              <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d80914e403 ">The inbound email address for this Email-to-Case routing address. Emails sent
                to this address create cases using the specified settings. The email address must
                be unique.</td>

            </tr>
            <tr class="">
              <td data-label="Setting" class="slds-cell-wrap" style="vertical-align:top;" headers="d80914e400 ">
                <samp class="parmname">Save Email Headers</samp>
              </td>

              <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d80914e403 ">
                <p> Save the email routing information associated with each email submitted as a
                  case. Each saved email header can count up to 32 KB towards your organization's
                  overall storage limit. </p>
                <p style="margin-bottom:0;">Email headers over 32,000 characters are truncated. To
                  view the full email header, add the Headers field to the Email Message page
                  layout. Service reps can then view the full email details, including the header,
                  using the View Email link from the case feed on the case record
                  page.</p>
              </td>

            </tr>
            <tr class="">
              <td data-label="Setting" class="slds-cell-wrap" style="vertical-align:top;" headers="d80914e400 ">
                <samp class="parmname">Accept Email From</samp>
              </td>

              <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d80914e403 ">To limit the email addresses and domains that this routing address accepts,
                enter them here separated by commas. For example: john@mycompany.com, yahoo.com,
                gmail.com. Leave this field blank to let this routing address receive email from
                any email address or domain.</td>

            </tr>
            <tr class="">
              <td data-label="Setting" class="slds-cell-wrap" style="vertical-align:top;" headers="d80914e400 ">
                <samp class="parmname">Create Task from Email</samp>
              </td>

              <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d80914e403 ">When an email is submitted as a case, automatically create and assign a task
                to the Automated Case User specified on the Support Settings page.</td>

            </tr>
            <tr class="">
              <td data-label="Setting" class="slds-cell-wrap" style="vertical-align:top;" headers="d80914e400 ">
                <samp class="parmname">Task Status</samp>
              </td>

              <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d80914e403 ">Set the default status of any tasks created when emails are converted to
                cases. <samp class="parmname">Create Task from Email</samp> must also be selected.</td>

            </tr>
            <tr class="">
              <td data-label="Setting" class="slds-cell-wrap" style="vertical-align:top;" headers="d80914e400 ">
                <samp class="parmname">External Service</samp>
              </td>

              <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d80914e403 ">
                <p>(Optional) Select a Gmail or Outlook account to send outgoing replies instead
                  of using Salesforce email services. This setting supports standard outbound
                  emails, such as those sent by a person, and not automated emails such as email
                  alerts. The email address of the user sending the mail must differ from the
                  routing address, or the email isn't sent.</p>
                <p> If Gmail or Outlook can’t send an email for some reason, the EmailMessage
                  record still exists in Salesforce.</p>
                <p>Outgoing emails can affect your Gmail or Outlook limits. Sent emails appear in
                  the external account’s Sent folder; they include a BCC recipient so that
                  Salesforce can maintain the email header for threading.</p>
                <p style="margin-bottom:0;">Some Gmail or Outlook rules can prevent an email from being sent; for example,
                  if the email doesn’t meet your compliance rules. Gmail or Outlook may send a
                  notification email to the sender, which is the routing address. Depending on the
                  account’s redirect and forwarding rules, the notification email can cause
                  Email-to-Case to create a case.</p>
              </td>

            </tr>
            <tr class="">
              <td data-label="Setting" class="slds-cell-wrap" style="vertical-align:top;" headers="d80914e400 ">
                <samp class="parmname">Routing Address Connection</samp>
              </td>

              <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d80914e403 ">
                <p>Connect and authenticate to an external Gmail or Outlook email server, or
                  disconnect from a previously authenticated external account. </p>
                <p style="margin-bottom:0;">Before revoking
                  access from a Gmail or Outlook account, first disconnect from the external
                  account. Otherwise outgoing emails can’t be sent. </p>
              </td>

            </tr>
            <tr class="">
              <td data-label="Setting" class="slds-cell-wrap" style="vertical-align:top;" headers="d80914e400 ">
                <samp class="parmname">Case Owner</samp>
              </td>

              <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d80914e403 ">
                <p>(Optional) Select a user or queue to override the Default Case Owner
                  specified on the Support Settings page. For example, select a user to own cases
                  originating from emails sent to this address. This field doesn’t affect the
                  ownership of tasks created to track emails converted to cases. </p>
                <p>As an
                  alternative to selecting a Case Owner, leave this field blank and create
                  assignment rules that assign email cases to queues based on keywords. For
                  example, create a rule that assigns all email cases containing the word
                  “billing” to a particular queue. If a case doesn’t match any rule criteria, it’s
                  assigned to the user in the Default Case Owner field on the Support Settings
                  page.</p><a name="settings_task__ul_jlh_dck_j2c"><!-- --></a>
                <ul id="settings_task__ul_jlh_dck_j2c">
                  <li>Specifying a case owner negates auto-assignment rules, so case owners aren’t
                    notified and queue members don’t get an email by default.</li>

                  <li>You can’t delete a queue that a routing address refers to. To point to a
                    different queue, either delete the routing address, or edit the routing
                    address settings.</li>

                </ul>
              </td>

            </tr>
            <tr class="">
              <td data-label="Setting" class="slds-cell-wrap" style="vertical-align:top;" headers="d80914e400 ">
                <samp class="parmname">Case Priority</samp>
              </td>

              <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d80914e403 ">The priority assigned to cases created from emails sent to this routing
                address. </td>

            </tr>
            <tr class="">
              <td data-label="Setting" class="slds-cell-wrap" style="vertical-align:top;" headers="d80914e400 ">
                <samp class="parmname">Case Origin</samp>
              </td>

              <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d80914e403 ">The value assigned to the Case Origin field for emails sent to this routing
                address. </td>

            </tr>
            <tr class="">
              <td data-label="Setting" class="slds-cell-wrap" style="vertical-align:top;" headers="d80914e400 "><samp class="parmname">Case Record Type</samp></td>

              <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d80914e403 ">
                <p>The record type for a new case that’s created for emails sent to this
                  routing address. </p>
                <p style="margin-bottom:0;">Ensure that the Automated Case User under Support
                  Settings has access to this record type. If they don’t, the created case may
                  have unexpected values.</p>
              </td>

            </tr>
            <tr class="">
              <td data-label="Setting" class="slds-cell-wrap" style="vertical-align:top;" headers="d80914e400 ">
                <samp class="parmname">Omni-Channel Flow</samp>
              </td>

              <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d80914e403 ">An active Omni-Channel flow that’s used to route cases when they’re created
                by Email-to-Case.</td>

            </tr>
            <tr class="">
              <td data-label="Setting" class="slds-cell-wrap" style="vertical-align:top;" headers="d80914e400 ">
                <samp class="parmname">Fallback Queue</samp>
              </td>

              <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d80914e403 ">An Omni-Channel queue that uses Case as the service channel object. If the
                flow can’t determine which queue to route the case to, it directs the case to this
                queue.</td>

            </tr>
            <tr class="">
              <td data-label="Setting" class="slds-cell-wrap" style="vertical-align:top;" headers="d80914e400 ">
                <samp class="parmname">Controlled by Permission Set</samp>
              </td>

              <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d80914e403 ">
                <p style="margin-bottom:0;">(Optional) If you select this option, only users with access via a permission
                  set can use this routing address to send emails.</p>
              </td>

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