Merge branch 'default-email'
#8 use JsObject to query mongodb
#8 implemented hook for mailgun deliveries