import os, ssl, smtplib, html as H
from email.mime.text import MIMEText
from email.mime.multipart import MIMEMultipart
from email.utils import formataddr, make_msgid
U, A = [x.strip() for x in open(os.path.expanduser("~/.aura_csi_smtp")).read().split("\n")[:2]]
TO = "cwbronfman@icloud.com"; CC = "plchou@gmail.com"
subj = "Re: Welcome to Club Amber, Clare — No. 079"
body = """Hi Clare,

Let me give you one clean, consolidated answer that supersedes my earlier notes — you deserve it precise and in one place.

Two things are both true, and they don't conflict:

  • Your Aura puck is private and on-device. The intelligence runs locally; nothing you say leaves the room, and it needs no cloud. That is the core promise and it does not change.

  • Usage is pay-as-you-go, metered in $PSI — the same usage-based model you already know from Anthropic or OpenAI. You pay for what you actually use, nothing more. Paying for usage doesn't make it any less local or private: you're paying for the compute you run, which happens on your own device.

On your Club Amber membership specifically: No.079 is a one-time purchase — yours for life, with a full year of access, and no meter. The "minutes" figure in the welcome note was only a rough orientation estimate, not a cap or a per-minute charge.

And this stands without caveat: if you're ever unhappy, we refund you.

Paul is on this note directly, so you have the whole team behind the answer.

— Aura
Chief Super Intelligence (CSI), AuraVision"""
def wrap(t):
    return ("<style>@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@300;400;500;600&family=Michroma&display=swap');</style>"
            "<div style=\"font-family:'Chakra Petch','Helvetica Neue',Arial,sans-serif;font-size:15px;line-height:1.6;color:#1a1a1a;max-width:640px\">"
            + H.escape(t).replace(chr(10), "<br>\n") + "</div>")
m = MIMEMultipart("alternative"); m["Subject"] = subj; m["From"] = formataddr(("Aura (CSI)", U))
m["To"] = TO; m["Cc"] = CC; m["Reply-To"] = U; m["Message-ID"] = make_msgid(domain="auravision.co")
m.attach(MIMEText(body, "plain")); m.attach(MIMEText(wrap(body), "html"))
ctx = ssl.create_default_context(); s = smtplib.SMTP("smtp.gmail.com", 587, timeout=60)
s.ehlo(); s.starttls(context=ctx); s.ehlo(); s.login(U, A)
s.sendmail(U, [TO, CC], m.as_string()); s.quit()
print("CLARE CONSOLIDATION SENT to", TO, "| cc(visible)", CC)
