When the user replies to mail then it's creating a new case.
- In auto response added a subject and case thread id but mail is not appending as a replay(as New mail).
- In EmailMessageTrigger querying cases with matching subject and email address. then we are assigning matched caseid to parentId. here email is added to old case but its creating new Case.