def _build_payload(user):
    """Builds the payload object to update the remote resource"""
    owner = {'email': user.email} if user.email else None
    return {
        'owner': owner,
        'department': user.department
    }