I warned you for that:
I don’t think Mailgun has any options or settings for this. It’s best to set up a separate relay server inbetween Discourse and Mailgun, that removes those headers. See this article: https://major.io/p/remove-sensitive-information-from-email-headers-with-postfix/