               if contentType in type.contentTypes and event is type.eventType
                 if emailFrequency[key]
                   state = emailFrequency[key]
-                  callback null, state#, email, type}
+                  callback null, state, email
                   return
           callback null
 
   @create = (data, callback=->)->
 
     {actor, receiver, event, contents} = data
-
-    # console.log contents
 
     username = receiver.getAt 'profile.nickname'
     sender   = actor.id

      status         :
        type         : String
        default      : 'queued'
        enum         : ['Invalid status',['queued','attempted']]

  commonActivities   = ['JCodeSnip', 'JStatusUpdate', 'JDiscussion',
                        'JOpinion', 'JCodeShare', 'JLink', 'JTutorial']
  flags =
    comment           :
      eventType       : 'ReplyIsAdded'
      contentTypes    : commonActivities
    likeActivities    :
      eventType       : 'LikeIsAdded'
      contentTypes    : commonActivities
    likeComments      :
      eventType       : 'LikeIsAdded'
      contentTypes    : ['JComment']

    {username, contentType, event} = options

    JUser = require './user'
    JUser.someData {username}, {email:1, emailFrequency:1}, (err, cursor)->
      if err
        console.error "Could not load user record for #{username}"
        callback err
      else cursor.nextObject (err, user)->
        {emailFrequency, email} = user
        unless emailFrequency?
          callback null
        else
