def METHOD_NAME():
    """Generate an email with HTML and plaintext alternatives."""
    msg = MIMEMultipart("alternative")
    msg["From"] = sender
    msg["To"] = recipient
    msg["Subject"] = "Multipart alternative"
    text_part = MIMEText("This is a **multipart/alternative** message.\n", "plain")
    html_part = MIMEText("This is a <strong>multipart/alterantive</strong> message.\n", "html")
    msg.attach(text_part)
    msg.attach(html_part)
    return msg