 
   postageapp.sendMessage
     recipients: address
-    template: 'final_thank_you'
+    template: template_name
     variables:
       team: " #{currentTeam.name}"
+      team_id: " #{currentTeam.id}"
       slug: " #{currentTeam.slug}"
     , (args...) ->
       # console.log "completed sending"

postageapp = require('postageapp')(env.secrets.postageapp)
_ = require('underscore')
async = require('async')

Team = mongoose.model 'Team'
Person = mongoose.model 'Person'

  currentTeam.people (err, people) ->
    return callback(err) if err
    emailable = (person for person in people when /@/.test(person.email))
    util.log "Sending '#{template_name}' to '#{team.name}'".yellow
    async.forEach emailable, msgPerson, callback

msgPerson = (person, callback) ->
