osTicket/osTicket-1.8 — pull request #1546 by greezybacon (2014-12-15 04:21:25+00:00)
Title: email: Message-Id header with user and thread ID

This patch suggests a change to the message-id creation process that includes stamping the receiving user-id (staff or client) along with the thread-id of the originating notice. This allows detection of threading if the clinically brain-dead mail client drops all the other header detection mechanisms, including the tag placed in the email body, on response.

This patch works for both client and agent communication.

*Hopefully this will make the next level of threading detection.*