def gather_sysadmin_recipients(model, exclude_username_list):
    """
    Gather email recipients from an sysadmin users who
    have email notifications enabled and are not in the exclusion list.
    """
    sysadmin_recipients = []
    sysadmins = model.Session.query(model.User).filter(
        model.User.sysadmin == True
    ).all()
    for sysadmin in sysadmins:
        if (sysadmin.email
            and sysadmin.activity_streams_email_notifications
            and sysadmin.name not in exclude_username_list):
            sysadmin_recipients.append({
                'name': sysadmin.name,
                'email': sysadmin.email
            })
    return sysadmin_recipients