def get_diff_emails_by_min_dist(emails_a=[], emails_b=[]):
    emails_seed = emails_a.split(',') if not isinstance(emails_a, list) else emails_a
    emails_file = emails_b.split(',') if not isinstance(emails_b, list) else emails_b
    if not emails_seed and not emails_file:
        return float(0)
    elif not emails_seed:
        emails_seed = ['']
    elif not emails_file:
        emails_file = ['']

    dist_email = __levenshtein__(str(emails_seed[0]), str(emails_file[0]))
    for email_s in emails_seed:
        for email_f in emails_file:
            dist_email = min(str(dist_email), str(__levenshtein__(str(email_s), str(email_f))))
    return float(dist_email)