import re


def validate_email(email: str) -> bool:
    """Validate that an email has the proper format"""
    regex = '^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})$'
    if not re.search(regex, email):
        return False
    return True