def validate_commmitter(d):
    """Validate that there are enough details in the dictionary.

    When sending data to GitHub, we need to ensure we're sending the name and
    email for committer and author data.
    """
    if d and d.get('name') and d.get('email'):
        return d
    return None