def html_client_gen(target_name, target_email):
    """
    Generates HTML for mailing to client.

    :target_name:       (string) First name of sender
    :target_email:      (string) Email of sender

    :return: HTML template as an fstring to be used with SendGrid's API service
    """
    content = ''
    with open('web/sendgrid_mailers/templates/client.html', 'r') as f:
        for line in f.readlines():
            new_line = line
            if '{target_name}' in line:
                new_line = new_line.replace('{target_name}', target_name)
            if '{target_email}' in line:
                new_line = new_line.replace('{target_email}', target_email)
            content+=new_line
    return content