         path: path
         where: 'server'
         action: ->
+          to = @params.query.to or settings.testEmail
+
           if to?
             data = template.route.data and template.route.data.apply(this, arguments)
 


          @response.end(html, 'utf8')

    addSend: (template, to) ->
      check template.name, String
      check template.route,
        path: String


          else
            @response.writeHead 400
            @response.end("No testEmail provided.")

  # Init routine. Precompiles all templates provided and
  # setup routes if provided and if in dev mode.
