We are trying to set manually the RFC822 Message-Id when sending emails using the gmail api. We have tested but seen that Gmail overrides our value. Do you know if there is a re
The nice thing about specifying a custom Message-Id is that the Id value will be passed thru to replies of the original message via the "References" header which makes it a nice method for tracking an email thread without having an extra lookup database to associate an ID with other data.
I'm looking for some kind of alternative since google does not let you override their value...
Yes the Message-Id is always set for mail sending to be the proper format for outgoing Gmail mail, the same format as the web interface.
What exactly is reason for needing to specify your own value instead of using either the message.id value returned during send for your own identifier or the final Message-Id header?