     @param  {String} lang    - [OPTIONAL] Language
     @param  {String} template- [OPTIONAL] Full path to template, like 'private/email_templates/name.html' 
   ###
-  compileBody: (opts={}, template) =>
+  compileBody: (helpers={}, template) =>
+
     if template
-      tmplt = SSR.compileTemplate '___MailerMail___', Assets.getText(template)
+      tmplt = SSR.compileTemplate '___MailerMail___', template
     else
       tmplt = SSR.compileTemplate '___MailerMail___', if not @template then @basicHTMLTempate else Assets.getText(@template)
 
-    Template.___MailerMail___.helpers opts
+    Template.___MailerMail___.helpers helpers
 
     SSR.render tmplt
 

  @param  {Object|String} options  - Message, subject, letter, body
  @param  {String} template - [OPTIONAL] Full path to template, like 'private/email_templates/name.html'
  ###
  send: (to, options, callback, sendAt = new Date, template = null) =>
    check to, String
    check options, Object
    check options.subject, String
    check options.message, String

    @queueAdd to, options, callback, sendAt, template

  ###
  @namespace Mailer


  queue: {}

  queueAdd: (to, subject, helpers, callback, sendAt, template = null) ->
    _id = mailQueue.insert {to, subject, helpers, callback, sendAt, isSent: false, tries: 0, uid: @uid, template}
    @queueTry _id

  queueTry: (_id = false) ->
