Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
You're using the values on SPEmailMessage.Headers right? Can you download a version of the email and look at the raw view of the email that was received to see all of the headers that came with it and make sure what you want is in the email to begin with.