# Diamond Equity Investments · Chicago — the HTML shell # Instructions for an agent composing an email. # # Self-contained on purpose. Everything needed to produce a correct branded # email is in this file; you do not need the repository. # # Fetch: https://dei-chicago-email.op-site.net/client # https://dei-chicago-email.op-site.net/team # https://dei-chicago-email.op-site.net/agent.txt (this file) ## 1 · Pick the shell CLIENT — external. Sellers, leads, lenders. Full lockup, the "Just sell it as is" tagline, the postal address and an unsubscribe link. Identical for every agent: a seller should not care which system wrote to them. CAN-SPAM applies, so the address and the opt-out are required, not decorative. TEAM — internal. DEI staff: acquisition managers, transaction coordinators, underwriters. Agent output, handoffs, ops reporting. Compact header that names the sending agent. NO tagline, NO postal address, NO unsubscribe — internal mail is not commercial email, and an opt-out link on staff mail implies a staff member can opt out of being told their appointment moved. ROUTING RULE, derived from the data: in Notion's `Templates (CSA)`, the only three templates without an opt-out footer are exactly the three addressed to an acquisition manager — `Video Testimonial Layer-3`, `Video Testimonial Manager-Alternate-Time`, `Video Testimonial Manager-Confirmed`. They open `Hi {acquisitionsManagerFirstName},`. Those three use the TEAM shell. The other 74 go to a seller and use the CLIENT shell. If you know the recipient, use that. It beats inspecting the body. ## 2 · Normalize the body BEFORE putting it in the shell ⚠️ THIS IS THE STEP THAT IS EASY TO SKIP AND EXPENSIVE TO GET WRONG. The stored templates are NOT HTML. They are plain text with \n line breaks, with a raw
opt-out footer glued onto the end — 74 of the 77 carry one. Dropped into the client shell untouched, every one of them sends: · one run-on paragraph, because plain text has no
tags, and · TWO unsubscribe links, because the shell already provides one. Do all four steps, in this order: 1. STRIP THE LEGACY OPT-OUT. Remove any trailing