title: Email Driven HTTP Requests Using Node.js & Express
body: <p>In node.js express, one can set up server routes for your application based on http requests from an http client of any source - provided it is sent to the right resource on the right host. Example route might be:</p>
  
  <pre><code>application.post('/resource', function(request, response, next) {
      doThings();
      response.redirect('back');
  });
  </code></pre>
  
  <p>Is there middleware that can be installed to set up routes for emails...? In my imagination this might look like:</p>
  
  <pre><code>application.email('resource@hostname.com', function(subject, body, attachment, next) {
      doThings();
      next();
  });
  </code></pre>