Use req.get() instead of req.headers object

http://expressjs.com/4x/api.html#req.get
Add some logging for email receiving