def name_email(text):
    """Splits a text into names and email addresses.

    Everything containing a '@' is considered an email address,
    everything else a name.
    Args:
        text: A text which shall be split into name and email address.
    Returns:
        Tuple (name, email) extracted from the text."""

    if text is None:
        return 'Unknown', 'unknown'
    words = text.split()
    name = (' ').join([w for w in words if '@' not in w])
    email = (', ').join([w for w in words if '@' in w])
    return name, email