def METHOD_NAME():
    """Generate an email with a single HTML part."""
    msg = MIMEMultipart("alternative")
    msg["From"] = sender
    msg["To"] = recipient
    msg["Subject"] = "HTML only"
    html_part = MIMEText("This is the body of an <strong>HTML</strong> message.", "html")
    msg.attach(html_part)
    return msg