 appnima       = require "./services/appnima" if ZEN.appnima?
 mongo         = require "./services/mongo" if ZEN.mongo?
 redis         = require "./services/redis" if ZEN.redis?
+mailer        = require "./services/mailer" if ZEN.mailer?
 # -- Middlewares
 request       = require "./middlewares/request"
 firewall      = require "./middlewares/firewall" if ZEN.firewall?

    http.createServer()

__serverClose = ->
  console.log ""
  ZEN.br "ZENserver shutdown..."
  if ZEN.mongo? then mongo.close()
  if ZEN.redis? then redis.close()
  console.log " ✓".green, "shutdown ok!".grey
  ZEN.br()

__cast = (values) ->

    services: ->
      promise = new Hope.Promise()
      tasks = []
      if ZEN.mongo? or ZEN.redis? or ZEN.mailer?
        ZEN.br "SERVICES"
        for connection in (ZEN.mongo or [])
          tasks.push do (connection) -> -> mongo.open connection
        if ZEN.redis?
          tasks.push => redis.open ZEN.redis
        if ZEN.mailer?
          tasks.push => mailer.open ZEN.mailer

      if tasks.length > 0
        Hope.shield(tasks).then (error, value) =>
