We do a lot of mailing and we use Sendgrid to give it unique arguments and categories. But for storage, archiving, filtering and search capabilities, I would like to give them some other custom headers too, something like a json format of this array
array('user' => 300, 'item' => 8842, 'country' => 'Croatia');
Now, is it possible for such custom headers to hurt the passthrough rate of our emails? In other words, is there a chance of our emails triggering spam filters due to having such custom headers?
X-
for custom headers isn't/wasn't specified in RFC 822. All it said was that future extensions wouldn't add names that started withX-
. 822 was obsoleted in 2001, and the subsequent standards (2822/5322) dropped this text entirely. You've always been free to define any names you want, as long as they're syntactically correct. – Equipollent