You are here:
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
| View supported editions. |
| User Permissions Needed | |
|---|---|
| To configure routing addresses for Email-to-Case: | Customize Application |
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.
- From Setup, enter Email-to-Case in the Quick Find box, then select Email-to-Case.
- In the Routing Addresses list, click New.
- 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 will route emails directly to Salesforce and convert them to cases.
- 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.
- Click Save. A verification email is sent to the routing email address that you entered.
- Confirm your email routing address by checking its inbox for a Salesforce verification email. Or, click Verify next to the routing address on the Email-to-Case Routing Address page. You can't use unverified routing addresses to send emails, and you don't get all the benefits of verified email 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.
- 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.
-
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.
- (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.
- (Optional) Set up an Omni-Channel flow to route cases dynamically to the right destinations, such as queues or service reps.
- (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.
- 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.
- 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.
- From the Object Manager in Setup, select Case, then select Buttons, Links, and Actions.
- Click Email.
- In the Predefined Field Values section, click New.
- Select the From field.
-
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.
- Click Save.
Routing Address Settings
Review guidance for completing routing address fields in Setup.

