Email-to-Case switches on in a few clicks. The desk works only if four decisions are made first.

To set up Email-to-Case in Salesforce, turn it on, add one routing address for each support mailbox, verify each address, forward the mailbox to the address Salesforce generates, and send a test email. Salesforce’s guided setup covers those steps. It does not decide who owns a new case, how replies find their case, or what happens to spam, attachments and mail over the daily limit.

Those four decisions are where a desk goes wrong later. Below are the setup steps, the settings on each routing address, the threading options, and eight tests to run before customers write.

If someone else runs your Salesforce, send them the settings table and ask which value each one holds today.

Trailhead, the Metadata API Developer Guide and the Object Reference, read on 3 December 2026. Reviewed 3 December 2026.

How do you set up Email-to-Case in Salesforce?

Use the guided setup in Salesforce Go. Turn Email-to-Case on, connect your support address, choose defaults such as priority and origin, click the verification link Salesforce sends to that mailbox, then copy the forwarding address it generates into your mail system’s forwarding settings. Salesforce then tests that forwarding works. Every email to the support address now arrives as a case.

The steps, as Trailhead’s Service Cloud unit gives them today:

  1. Setup menu, Salesforce Go. Search Email-to-Case, click Get Started, Turn on, Confirm.
  2. Next to Connect Your Support Email, click Manage, then Start, and pick your email provider.
  3. Enter the support address customers see. Use a test mailbox first, not your live one.
  4. Choose the details added to every case from this address, such as priority and origin.
  5. Open the verification email from Salesforce and click Verify Email Address.
  6. Copy the email forwarding address Salesforce shows, and paste it into the forwarding settings of your mailbox.
  7. Confirm forwarding is set. Salesforce tests it before you click Done.

The Object Reference describes what you just created: an EmailRoutingAddress holds the address customers write to and a unique, Salesforce generated services address that “can’t be modified”. Your mailbox forwards to the second one.

One warning before step 1. The Metadata API guide says of the Email-to-Case setting: “After Email-to-Case is enabled, it can’t be disabled.” Turn it on in a sandbox first.

Match: added to the same caseCustomerwrites toyour supportaddressYour mailboxforwardsto theSalesforcegeneratedaddressRoutingaddressOwner, origin,priority,record typeThreadingcheckToken first,then headersNew case inthe teamqueueOne address perteamAfter Email-to-Case is enabled, it can’t be disabled. Turn it on in a sandbox first.Customer writes to yoursupport addressYour mailbox forwardsto the Salesforce generatedaddressRouting addressOwner, origin, priority, record typeOne address per teamThreading checkToken first, then headersMatch: added to the same caseNew case in the team queueAfter Email-to-Case is enabled, itcan’t be disabled. Turn it on in asandbox first.
The routing address stamps every new case. Threading decides whether it is new at all.

What should each routing address set on a new case?

Each routing address can stamp its own owner, origin, priority and record type on the cases it creates. That makes the address the cheapest routing tool you have: one address per team or per kind of request, each feeding its own queue. The Metadata API guide lists every setting a routing address holds.

Setting on the routing addressWhat it doesWhat to choose
Case owner, user or queueOwner of new cases when assignment rules find no ownerA team queue, never a person
Case originDefault origin of cases from this addressEmail, or one value per address if you report by channel
Case priorityDefault priorityNormal; let rules raise it
Record typeRecord type of new cases from this addressSet it if teams use different case layouts
Create taskGives the owner a task for every new caseOff unless owners work from their task list
Save email headersKeeps routing and envelope information on each emailOn: you need it to diagnose threading
Omni-Channel flow and fallback queueRoutes new cases with a flow; the queue catches what the flow cannot routeOnly if you already route with Omni-Channel
Permission set controlOnly users with a permission set can send from this addressOn for addresses that speak for the company

The owner line needs care. The routing address owner becomes the default case owner, which the guide defines as the owner “when assignment rules fail to locate an owner”. So an active rule decides first, and the address only catches what no entry matched. If cases land with the wrong owner, the causes and the history query that tells them apart are on case assignment rules not working.

On the insurance agency desk I built, now in production, each service address feeds a team queue, and an agent claims a case before replying. Nobody is assigned a case on arrival, because a case routed to someone on holiday sits unseen.

How does Email-to-Case know which case a reply belongs to?

It looks for a threading token first, then compares email headers. With Lightning threading, Salesforce can add a token to the subject or the body of every email an agent sends from the case. When the customer replies, the token or the headers point back to the case. Without either, the reply opens a new case.

Three settings control it, all named in the Metadata API guide:

SettingWhat it doesRecommended
Threading token in subjectAdds the token to the subject of emails agents send from the Lightning composerOn
Threading token in bodyAdds it to the body as wellOn, so a subject rewritten by the customer still threads
Email headers for threadingUses metadata from incoming emails to match replies “if token-based threading doesn’t produce a match”On

The older Thread ID settings, in subject and in body, apply only to orgs that do not use Lightning threading. Check which kind your org runs before you edit templates.

Each email is stored as an EmailMessage linked to its case through ParentId, with the email’s own ID in MessageIdentifier and, from API version 56.0, a thread value some email clients set, in ClientThreadIdentifier. Those fields are what headers based threading compares, and what you read when a reply did not thread. The matching order, and the five kinds of duplicate case it produces when it fails, are on Email to Case duplicate cases.

Which settings should you decide before go-live?

Five, because each one decides what happens to mail that has already arrived, and that cannot be undone later. They decide where attachments go, what happens to mail from unknown senders, what happens over the daily limit, whether the owner hears about new emails, and whether replies carry the whole thread. All five live in the Email-to-Case settings described in the Metadata API guide.

DecisionOptionsWhat I would set for a small team
Attachments saved as Salesforce FilesOn or off; a second option links an attachment already on the case to the new email instead of saving it againBoth on
Mail from unauthorized sendersBounce or Discard, used with a list of authorized sendersBounce while you test, so you see what is refused
Mail over the daily Email-to-Case limitBounce, Discard or RequeueRequeue rather than Discard: discarded mail is gone
Notify the owner on a new emailOn or offOn when the owner is a person
Replies with new content onlyLeaves earlier thread content out of outgoing repliesYour choice; shorter mail, but customers lose the history below

Spam is the decision Salesforce does not make for you. On the agency desk junk mail is closed with one click and can be found again later; nothing is deleted, because sooner or later a filter traps a genuine client.

Should every new case get an automatic reply?

Only if the reply cannot loop. Auto-response rules run at step 10 of the save that creates a case, right after assignment rules, per the order of execution in the Apex Developer Guide. A reply sent to an address that forwards back into Salesforce, or to a mailbox that answers with its own automatic reply, creates a new case each round.

Three rules keep it safe. Never let a routing address, a queue email or an org wide address appear as the sender of a customer email that is also forwarded in. Exclude subjects that mark automatic mail, such as out of office notices. And exclude your own company’s domain, so internal tests do not reply to themselves. How loops start, and the threshold at which Salesforce’s own loop detection steps in, are on Email to Case duplicate cases.

The Object Reference adds one detail for integrations: with an active auto-response rule, SuppliedEmail is required when a case is created through the API.

How do you test Email-to-Case before customers write?

Send eight emails from outside your company and read what each one created. Setup can say forwarding works while threading, owners and attachments are still wrong. Each test below has one expected result, written down before you send and checked after. Run them in a sandbox and once more in production with a test mailbox.

#Send thisExpected result
1A new email to each routing addressOne case per address, with that address’s owner, origin and priority
2A reply to an agent’s email, subject unchangedAdded to the same case, no new case
3A reply with the subject rewrittenAdded to the same case, through the body token or headers
4A reply from a different mail client, such as a phoneAdded to the same case
5One email sent to two routing addressesNote what happens; it is a known source of duplicate cases, so publish one address per team
6An email with a large attachmentCase created, attachment saved where you chose
7An out of office reply to the auto-responseNo new case, or one closed as junk, never a loop
8A reply to a closed caseWhat your rule says: reopen, or a new case linked to the old one

After the tests, one query shows what arrived and where it went:

SOQL
SELECT Parent.CaseNumber, Parent.Owner.Name, Parent.Origin, Incoming, FromAddress, ToAddress, Subject, MessageIdentifier, CreatedDate
FROM EmailMessage
WHERE CreatedDate = TODAY AND Incoming = true
ORDER BY CreatedDate ASC

If test 1 produced no case at all, the forwarding or verification step is the usual suspect, covered on Email-to-Case not creating cases.

What should happen when a customer replies to a closed case?

Decide before go-live. Unless a flow acts on it, a reply to a closed case stays on that closed case, where nobody is looking. Either a flow reopens the case, or it opens a new case linked to the old one. Reopening stretches handling time on work already reported as done; a new linked case keeps finished work finished.

On the agency desk a late reply starts a new case that points back to the old one, so reports and service clocks are not disturbed. The trade off is one more case per late reply, which a report on linked cases makes visible. How the clocks themselves count, in business hours and with milestones, is on business hours and SLA in Service Cloud.

What does an Email-to-Case setup cost?

The switch is free with Service Cloud; the work is in the decisions and tests above. My Service Cloud build is from €12,325 for 145 hours, fixed against a written scope: the case model, queues, email to case, reports and dashboards for up to 15 agents, and training. Licenses are bought from Salesforce directly.

For insurance agencies the first stage, email to case on its own, is €6,800 to €9,350 for 80 to 110 hours, on the programme for agencies. License prices per seat are on Service Cloud pricing. Every build includes thirty days of support after handover, up to eight hours in total, and a sixty day warranty.

What do support teams ask about Email-to-Case setup?

  • QCan we switch Email-to-Case off if we change our minds?

    No. The Metadata API guide says that once Email-to-Case is enabled it cannot be disabled. Enable it in a sandbox first and run the eight tests there before production.

  • QDo we need one routing address or several?

    One per team or per kind of request that should land in its own queue. Each address sets its own owner, origin and priority, so the address does routing a rule would otherwise do.

  • QGmail or Microsoft 365?

    Either. Salesforce generates an address, and your mailbox forwards to it; Trailhead’s steps ask you to pick the provider and paste the forwarding address into its settings. Salesforce keeps a knowledge article for Gmail forwarding.

  • QShould web forms create cases too?

    If customers use them. Trailhead says Web-to-Case can collect up to 5,000 new cases a day. Give web cases their own origin so reports keep the two channels apart.

  • QWhere do the emails live after the case is created?

    As EmailMessage records on the case, linked by ParentId. Access to them follows access to the case, per the Object Reference.

Have the desk built and tested, from €12,325

Service Cloud build from €12,325 for 145 hours, eight weeks at 15 agents: case model, queues, email to case, reports and dashboards, training, then thirty days of support after handover, up to eight hours in total, and a sixty day warranty. If your desk is already live and misbehaving, run the twelve read only checks on the Service Cloud audit, then write three lines on the contact page with the ones that failed.

Serhii Skrypnyk, Senior Salesforce Administrator, Salesforce certified, on the platform since 2018. Reviewed 3 December 2026. The desk mentioned above is in the insurance agency case.