We would like to place a custom email with template button inside a case layout. What should we do to ensure that if our client replies to that email, this gets automatically added to the case thread?


Case emails usually contains the thread id, which helps Salesforce to recognize under which case it should attach the email. You can contain that thread id into those emails.

When creating template, you can use {!Case.Thread_Id} in the template used on the button. Also make sure to make the appropriate settings in email to case settings.

Also go through the below link to know more:

Check out the link.

  • where should I place the thread id? – Edmondo1984 Jun 27 '17 at 11:52
  • Insert Thread ID in the Email Subject AND Insert Thread ID in the Email Body – Nitish Singhal Jun 27 '17 at 11:53
  • any of them is fine – Edmondo1984 Jun 27 '17 at 11:53
  • You should try with both places once, then try removing one at a time. I have implemented this in past, but don't exactly remember where did I place that. Please try at both. – Nitish Singhal Jun 27 '17 at 11:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.