Incoming email customizable POST parameter name

Discourse wants incoming emails to arrive as raw MIME in a POST param called email.

Mailgun sends its raw MIME body in a POST parameter called body-mime. Bummer!

I saw that someone wrote a plugin for accepting incoming mail from Mailgun, but it seems a shame to do all that when it’s just a difference in param name.

Would y’all be open to a PR making is possible to specify a list of alternate POST param names in which to look for the email content? Or is there an easier way that I’m missing?


If you can confirm you can get incoming mail going with maligun with minimal changes (simply telling Discourse to look at another param) then sure.

But first … how is this secured?


Curious what ever happened to this.