private SnapshotArchiver(string hubId)
        {
            _hubId = hubId;
            _executionTask = null;

            using (IAwayStatusRepository awayStatusRepository = new AwayStatusRepository())
            {
                var users = awayStatusRepository.GetAllForHub(hubId);
                emailAddresses = users.Select(u => u.UserName).ToArray();
            }
        }
        private async Task<string[]> UsersForHub()
        {
            var hubId = await _lookupToken.GetHomeHubId(this.User);
            if (string.IsNullOrEmpty(hubId))
            {
                return null;
            }

            using (IAwayStatusRepository awayStatusRepository = new AwayStatusRepository())
            {
                var users = awayStatusRepository.GetAllForHub(hubId);
                return users.Select(u => u.UserName).ToArray();
            }
        }