Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Gateway for pushing inbound email from mailgun into

branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time Mail Gateway

Take inbound requests from Mailgun and create or update threads in based on those requests.


Get the app and do this:

gem install bundler
bundle install

Deployment on Heroku

To install into Heroku, do this:

heroku create appname
heroku config:add INTERCOM_APP_ID=app-id
heroku config:add INTERCOM_APP_KEY=app-key
git push heroku master

Setup at mailgun

Set up your domain on Mailgun (along with the MX records Mailgun needs) and create a route that looks like this (replace xyz123 with the app id from

Filter Expression: match_recipient("")
Actions: forward("")
Something went wrong with that request. Please try again.