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?