# Get the thread of an email **GET /extraction/case/emails/{emailId}/thread** Returns the thread an email belongs to and the ids of all its emails. Returns 404 unless the email is in a mailbox linked to the caller's extraction code. The firm's tags are not included. ## Servers - http://api.example.com: http://api.example.com () ## Authentication methods - Access token ## Parameters ### Path parameters - **emailId** (string) ### Query parameters - **includeLastMessage** (boolean) When truthy (1/true), populate lastMessageOrDraft (id/subject) on the thread; otherwise it is returned as null. The message body is never included — fetch it from the thread-emails endpoint. ## Responses ### 200 #### Body: application/json (object) - **data** (object) - **statusCode** (number) - **timestamp** (string(date-time)) [Powered by Bump.sh](https://bump.sh)