Does it? I checked this with Mailgun yesterday and they told me to send through the API instead of using SMTP. So I did, tested with Gmail today (where it was ending up in spam) and it arrived in the inbox.. I'll check with them again.
[1] https://github.com/mailgun/flanker or http://documentation.mailgun.com/api-email-validation.html