import re


def check_email_format(email):
    """
    Checks that the email is in the right format with at
    least one @ and one period (.)
    """
    if not re.match(r"[^@]+@[^@]+\.[^@]+", email):
        raise ValueError('Invalid email format')
    return True