Emailaggregation

@sathomas was not able to open his notifications stream at all.

![screen shot 2014-06-09 at 11 41 18 am](https://cloud.githubusercontent.com/assets/1731910/3218640/f4bfd018-efec-11e3-9b0a-7c28129c4a12.png)

Console error

```
[Error] TypeError: 'undefined' is not an object (evaluating 'activity.actor['oae:collection']')
	_prepareActivity (activityadapter.js, line 146)
	_adaptActivity (activityadapter.js, line 53)
	(anonymous function) (activityadapter.js, line 40)
	(anonymous function) (underscore.js, line 100)
	forEach (underscore.js, line 87)
	collect (underscore.js, line 99)
	adapt (activityadapter.js, line 39)
	processActivities (notifications.js, line 35)
	processList (jquery.infinitescroll.js, line 171)
	success (jquery.infinitescroll.js, line 151)
	fire (require-jquery.js, line 4882)
	fireWith (require-jquery.js, line 4994)
	done (require-jquery.js, line 9348)
	(anonymous function) (require-jquery.js, line 9770)
```

`GET` to `/api/notification` results in

```
{
  "items": [
    {
      "oae:activityType": "content-restored-revision",
      "oae:activityId": "1402329872284:gyzP4p8nY1x",
      "verb": "update",
      "published": 1402329872284,
      "actor": {
        "oae:id": "u:oae:eJgX8e_zso",
        "oae:thumbnail": {
          "url": "/api/download/signed?uri=local%3Au%2Foae%2FeJ%2FgX%2F8e%2F_z%2FeJgX8e_zso%2Fprofilepictures%2F1401291629779%2Fsmall.jpg&signature=c987636090d074e2ae5814919a7a209a2f4a70ac",
          "width": 32,
          "height": 32
        },
        "oae:visibility": "public",
        "oae:profilePath": "/user/oae/eJgX8e_zso",
        "displayName": "The Real Bert Pareyn",
        "url": "https://oae.oae-release0.oaeproject.org/user/oae/eJgX8e_zso",
        "image": {
          "url": "/api/download/signed?uri=local%3Au%2Foae%2FeJ%2FgX%2F8e%2F_z%2FeJgX8e_zso%2Fprofilepictures%2F1401291629779%2Fmedium.jpg&signature=84a62648b7d4e1e160d3fbbeff615a6fac2f830d",
          "width": 162,
          "height": 162
        },
        "objectType": "user",
        "id": "https://oae.oae-release0.oaeproject.org/api/user/u:oae:eJgX8e_zso",
        "oae:tenant": {
          "alias": "oae",
          "displayName": "Open Academic Environment"
        }
      },
      "object": {
        "oae:id": "c:oae:ey9jc8Gjj",
        "oae:visibility": "loggedin",
        "oae:profilePath": "/content/oae/ey9jc8Gjj",
        "oae:resourceSubType": "file",
        "oae:mimeType": "image/jpeg",
        "oae:revisionId": "rev:oae:eJdzTInFye",
        "displayName": "sombrero.jpeg",
        "url": "https://oae.oae-release0.oaeproject.org/content/oae/ey9jc8Gjj",
        "image": {
          "url": "/api/download/signed?uri=local%3Ac%2Foae%2Fey%2F9j%2Fc8%2FGj%2Fey9jc8Gjj%2Fpreviews%2Frev-oae-x1UyO8LkC%2Fthumbnail.jpg&signature=e213868ee5fc07afe7311c39f3e1c204065f2f0b",
          "width": 324,
          "height": 324
        },
        "objectType": "content",
        "id": "https://oae.oae-release0.oaeproject.org/api/content/c:oae:ey9jc8Gjj",
        "oae:tenant": {
          "alias": "oae",
          "displayName": "Open Academic Environment"
        }
      }
    },
    {
      "oae:activityType": "content-share",
      "oae:activityId": "1401291318906:e1YCo4kCyke",
      "verb": "share",
      "published": 1401291318906,
      "actor": {
        "oae:id": "u:oae:e1eWaG100X",
        "oae:thumbnail": {
          "url": "/api/download/signed?uri=local%3Au%2Foae%2Fe1%2FeW%2FaG%2F10%2Fe1eWaG100X%2Fprofilepictures%2Fsmall.jpg&signature=d9c3af48cbfd107593fdc7963853a4ac9c9c49ad",
          "width": 32,
          "height": 32
        },
        "oae:visibility": "public",
        "oae:profilePath": "/user/oae/e1eWaG100X",
        "displayName": "Your new name Visser",
        "url": "https://oae.oae-release0.oaeproject.org/user/oae/e1eWaG100X",
        "image": {
          "url": "/api/download/signed?uri=local%3Au%2Foae%2Fe1%2FeW%2FaG%2F10%2Fe1eWaG100X%2Fprofilepictures%2Fmedium.jpg&signature=c820b8d1946db21153929fa7bbd0c12b57bfd94a",
          "width": 162,
          "height": 162
        },
        "objectType": "user",
        "id": "https://oae.oae-release0.oaeproject.org/api/user/u:oae:e1eWaG100X",
        "oae:tenant": {
          "alias": "oae",
          "displayName": "Open Academic Environment"
        }
      },
      "object": {
        "oae:id": "c:oae:lJoFj06y1x",
        "oae:visibility": "private",
        "oae:profilePath": "/content/oae/lJoFj06y1x",
        "oae:resourceSubType": "link",
        "oae:revisionId": "rev:oae:gJeiFjCT1Je",
        "displayName": "http://www.facebook.com",
        "url": "https://oae.oae-release0.oaeproject.org/content/oae/lJoFj06y1x",
        "image": {
          "url": "/api/download/signed?uri=local%3Ac%2Foae%2FlJ%2FoF%2Fj0%2F6y%2FlJoFj06y1x%2Fpreviews%2Frev-oae-gJeiFjCT1Je%2Fthumbnail.jpg&signature=d42bbe7f9f274b7ce26c75b0243a7d4b685b39f3",
          "width": 324,
          "height": 324
        },
        "objectType": "content",
        "id": "https://oae.oae-release0.oaeproject.org/api/content/c:oae:lJoFj06y1x",
        "oae:tenant": {
          "alias": "oae",
          "displayName": "Open Academic Environment"
        }
      },
      "target": {
        "oae:id": "u:oae:gyx6KDkjJU",
        "oae:thumbnail": {
          "url": "/api/download/signed?uri=local%3Au%2Foae%2Fgy%2Fx6%2FKD%2Fkj%2Fgyx6KDkjJU%2Fprofilepictures%2F1398957412250%2Fsmall.jpg&signature=b075319ac17d2ee8039bb84b19c8267ed8eaf24d",
          "width": 32,
          "height": 32
        },
        "oae:visibility": "public",
        "oae:profilePath": "/user/oae/gyx6KDkjJU",
        "displayName": "Stephen Thomas",
        "url": "https://oae.oae-release0.oaeproject.org/user/oae/gyx6KDkjJU",
        "image": {
          "url": "/api/download/signed?uri=local%3Au%2Foae%2Fgy%2Fx6%2FKD%2Fkj%2Fgyx6KDkjJU%2Fprofilepictures%2F1398957412250%2Fmedium.jpg&signature=a0bb0c9e7db41924e5768ea79b847dd884fb23fc",
          "width": 162,
          "height": 162
        },
        "objectType": "user",
        "id": "https://oae.oae-release0.oaeproject.org/api/user/u:oae:gyx6KDkjJU",
        "oae:tenant": {
          "alias": "oae",
          "displayName": "Open Academic Environment"
        }
      }
    }
  ],
  "nextToken": null
}
```